-
Notifications
You must be signed in to change notification settings - Fork 0
Tips
Attempting to format a C header (extension .h) may result in an error such as Formatter 'clang-format' error: Configuration file(s) do(es) not support C++ if the Language option was set to C. This is likely because clang-format detects C headers as C++ files.
A simple way to force the header to be detected as C is to use a special comment before the first non-comment line (as noted in the documentation for the Language option):
// clang-format Language: CTo ensure install actions are run (such as installation of binaries) even if no dotfile would be installed (due to lack of modifications), add the --force-actions flag e.g.
dotdrop -p windows -aThe ssh-agent Oh My Zsh plugin is being used to manage credentials. Simply update the identities style with the desired keys, for example:
zstyle :omz:plugins:ssh-agent identities id_ed25519 id_ed25519_workThis can be specified in ~/.zshenv to keep it machine specific. Note that this is only needed if multiple identities are being used.
Make sure to add non-default identities to the SSH config, see example. To use the identity with Git, specify the desired host. For example:
git clone git@github-work:user/repo.git
A short option name for help can be added as follows:
app = typer.Typer(context_settings={"help_option_names": ["-h", "--help"]})See also #201.
- To regenerate dynamic profiles that have been deleted, remove
$Env:LocalAppData\Packages\Microsoft.WindowsTerminal_8wekyb3d8bbwe\LocalState\state.json
- If Windows applications cannot be called from WSL, try entering the following:
Taken from this comment. More details can be found in issue #8843.
sudo systemctl mask systemd-binfmt.service
By default, the WSL 2 kernel does not enable the driver for the PL2303 USB to serial converter. A new kernel will have to be built with that support. See this issue for more details.
- Place machine-specific settings in
~/.zshenv, e.g.$path=(/path/to/dir $path) - To check the completion handler for a command, examine
$_compse.g.echo $_comps[fd]