Simple ZShell customizations used in my environment.
Clone the repository and execute the command below:
./deploy
The installation script performs the following steps for you:
- Checks the availability of the following applications:
- Installs any missing applications using the available package manager.
- Confirms if zsh is your default shell application and sets it for you.
- Creates backup copies of existing files that will be replaced during the installation process.
The standard dotfiles (.zshrc
, etc.) load definitions from within the repository. This way, changes are incorporated and synchronized across all machines using this scheme.
When launching a new shell, the first thing executed is zshrc_manager.sh
. Upon initiation, it updates the dotfiles directory and loads the customizations.
cd
has been redefined tocd
+ls
. Whenever you enter a directory, the contents of that directory are listed.
Shortcut | Action |
---|---|
Ctrl-A* | Moves to the beginning of the line |
Ctrl-G | Executes git add -A; git commit -v && git push |
Ctrl-H | Executes cd ~/ |
Ctrl-K* | Deletes from the cursor to the end of the line (copies content to buffer) |
Ctrl-L | Executes ls |
Ctrl-O | Equivalent to the Enter key |
Ctrl-S | Adds sudo to the beginning of the line |
Ctrl-Y* | Pastes buffer content immediately before the cursor |
*: as it occurs in bash |
- zsh-autosuggestions: Searches your history while you type and provides suggestions.
- zsh-syntax-highlighting: Provides fish style syntax highlighting for zsh.
- ohmyzsh: Borrowed things like tab completion, fixing ls, and a few other things from oh-my-zsh.