Automated setup of my shell
This is only tested on the latest M1 macOS
~/.ignore
nvm
(via zsh-nvm)~/.nvmrc
with ‘stable’npm
~/.zsh/
…
~/.zshrc
~/Library/Preferences/com.apple.Terminal.plist
in order to…git clone https://github.com/lanespade/lsh.git
cd lsh
./install.zsh
Loads zsh-nvm plugin to enable nvm with completion
Loads spaceship
Enables zsh and bash built-in completions
Loads fzf-tab plugin to enable fuzzy completion
Opinionated, minimal configuration of the fzf
keybindings, Alt-C, Ctrl-R, and Ctrl-T
Finds directory to change to by name, starting at the home directory using fd
while previewing contents using tree
Finds file by name, starting in the current directory using fd
in fullscreen mode while previewing contents using bat
Enables forgit for interactive git commands
Primarily around git
and the extremely valuable l
alias (inspired by oh-my-zsh
)
A key binding connected to a function that combines fzf
and rg
to search file contents and selected files back to the prompt to be used however (i.e. opened with an editor, removed, moved, chmod
, etc.)
A key binding connected to a function that combines fzf
and ps
to filter, select (multi), and terminate kill-able processes
Loads zsh-autosuggestions plugin to enable suggestions as you type
Loads zsh-syntax-highlighting plugin to enable syntax highlighting as you type