List of zsh bindkey commands

bindkey -l will give you a list of existing keymap names. bindkey -M <keymap> will list all the bindings in a given keymap. If you use the zsh command line in emacs mode, then the emacs keymap is likely to be most important for you. If you use it in vi mode, then you’d be … Read more

brew installation for zsh?

This worked for me on macOS ARM (Apple M1): /bin/bash -c “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)” and then: export PATH=”/opt/homebrew/bin:$PATH” >> ~/.zshrc

ZSH not recognizing my aliases?

if you do a very simple alias in zsh, does it work? open your .zshrc file, and add the following line: alias ls=”ls -GpF” after adding that line, type this line in your Terminal: source ~/.zshrc tell us what happens. Also, just for shiggles, make sure you are using single quotes vs. double quotes, I … Read more

How can I format the output of a bash command in neat columns

column(1) is your friend. $ column -t <<< ‘”option-y” yank-pop > “option-z” execute-last-named-cmd > “option-|” vi-goto-column > “option-~” _bash_complete-word > “option-control-?” backward-kill-word > “control-_” undo > “control-?” backward-delete-char > ‘ “option-y” yank-pop “option-z” execute-last-named-cmd “option-|” vi-goto-column “option-~” _bash_complete-word “option-control-?” backward-kill-word “control-_” undo “control-?” backward-delete-char

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)