fix: include forgotten modifications from last commit
This commit is contained in:
parent
121b9ef7cf
commit
ca511ee298
2
.zshrc
2
.zshrc
|
@ -110,7 +110,7 @@ source $ZSH/oh-my-zsh.sh
|
|||
# alias ohmyzsh="mate ~/.oh-my-zsh"
|
||||
|
||||
# Source Personal Config
|
||||
source ~/paoda.zsh
|
||||
source ~/.paodarc
|
||||
|
||||
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
|
||||
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
|
||||
|
|
24
paoda.zsh
24
paoda.zsh
|
@ -1,24 +0,0 @@
|
|||
#!/usr/bin/zsh
|
||||
# Make ZSH behave like vim
|
||||
bindkey -v
|
||||
|
||||
# Aliases
|
||||
alias yay="yay --aur"
|
||||
alias ls="exa"
|
||||
alias ll="exa -albh"
|
||||
alias cat="bat"
|
||||
alias vim="nvim"
|
||||
alias find="fd"
|
||||
alias grep="rg"
|
||||
|
||||
# Functions
|
||||
dotfile() {
|
||||
if [[ "$1" = "status" ]]; then
|
||||
git --git-dir="$HOME"/.dotfiles/ --work-tree="$HOME" status -uno;
|
||||
else
|
||||
git --git-dir="$HOME"/.dotfiles/ --work-tree="$HOME" "$@";
|
||||
fi
|
||||
}
|
||||
|
||||
# Re-enable reverse-i-search
|
||||
bindkey '^R' history-incremental-search-backward
|
Loading…
Reference in New Issue