Compare commits

...

2 Commits

Author SHA1 Message Date
727bc542a1 added some navigation aliases 2025-08-06 00:53:16 +05:00
1d5d0e7a6f enabled emacs mode for zsh 2025-08-06 00:52:49 +05:00

6
.zshrc
View File

@ -12,6 +12,7 @@ HISTSIZE=15000
SAVEHIST=15000 SAVEHIST=15000
setopt appendhistory setopt appendhistory
bindkey -e
bindkey '^R' history-incremental-search-backward bindkey '^R' history-incremental-search-backward
bindkey '^I^I' autosuggest-accept bindkey '^I^I' autosuggest-accept
@ -29,6 +30,11 @@ alias weather='curl wttr.in/tyumen'
alias toggle_vpn='sudo toggle_vpn' alias toggle_vpn='sudo toggle_vpn'
alias rr='ranger' alias rr='ranger'
# naviagtion aliases
alias dots='cd ~/dotfiles'
alias notes='cd ~/Documents/woopvault/'
alias work='cd ~/Code/maxim/'
### Added by Zinit's installer ### Added by Zinit's installer
if [[ ! -f $HOME/.local/share/zinit/zinit.git/zinit.zsh ]]; then if [[ ! -f $HOME/.local/share/zinit/zinit.git/zinit.zsh ]]; then
print -P "%F{33} %F{220}Installing %F{33}ZDHARMA-CONTINUUM%F{220} Initiative Plugin Manager (%F{33}zdharma-continuum/zinit%F{220})…%f" print -P "%F{33} %F{220}Installing %F{33}ZDHARMA-CONTINUUM%F{220} Initiative Plugin Manager (%F{33}zdharma-continuum/zinit%F{220})…%f"