Read-only mirror of zsh-config
Alexander Rosenberg ca65659782 Move zsh-autosuggestions | 3 هفته پیش | |
---|---|---|
plugins | 2 ماه پیش | |
.gitignore | 2 سال پیش | |
.gitmodules | 8 ماه پیش | |
LICENSE | 2 سال پیش | |
README.md | 10 ماه پیش | |
arch.zsh | 4 هفته پیش | |
early-init.zsh | 3 ماه پیش | |
emacs-bookmark.zsh | 3 هفته پیش | |
init.zsh | 3 هفته پیش |
This is my personal zsh configuraton.
(* = optional)
sh
git clone 'https://git.zander.im/Zander671/zsh-config.git'
git submodule init && git submodule update
.zshrc
and fill it with something like this:
zsh
ZSH_CONFIG_DIR="path/to/this/repo" # This variable *MUST* be set
source "${ZSH_CONFIG_DIR}/init.zsh"
source
line):
ls
after jumping to a bookmark (default:
true)I use a lot of aliases. Because a lot of the aliases are only enabled if the
corresponding piece of software is installed (see above), it is hard to give a
full list. Therefore you should think of the following list as a guide and read
init.zsh
if you want a full list.
ls
: eza --git -Fla
: eza --git -Fal
: eza --git -Flll
: eza --git -Flacat
: bat --paging=neverpcat
: bat -ppncat
: bat -pp --color=nevere
: emacsclient -a nvim -nwn
: emacsclient -a nvim -nwemacs
: emacsclient -a nvim -nwd
: start dired in either the current or provided directorydired
: start dired in either the current or provided directoryse
: sudoeditmv
: mv -icp
: cp -irm
: disabled if trash-cli is installedtp
: trash-puttrr
: trash-restoretrl
: trash-listtre
: trash-emptytrm
: trash-rmgt
: git statusga
: git addgaa
: git add -Agc
: git commitgf
: git fetchgu
: git pullgp
: git pushgcm
: git commit -m, but treat all following args as the message (like echo)gacm
: git commit -am, but treat all following args as the message (like echo)Previous versions of this configuration supported files that were not under
version control to be run during initialization of the shell. However the
current version does not support this. Configuring the shell requires editing
either init.zsh
or early-init.zsh
.