diff options
author | Adam <56338480+adastx@users.noreply.github.com> | 2022-02-12 13:36:08 +0100 |
---|---|---|
committer | Adam <56338480+adastx@users.noreply.github.com> | 2022-02-13 17:36:02 +0100 |
commit | 9f07b8bc7e7bd80636b11469183d971ff85790e0 (patch) | |
tree | 01a62083485b5f2f1045150f5bbdddc5a7b8cb0e | |
parent | f49b94f47fd2ce37220b17a99e16b2582edc632f (diff) |
zshrc: removed unused aliases
-rw-r--r-- | .config/zsh/.zshrc | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc index 9964d1e..d1d0da6 100644 --- a/.config/zsh/.zshrc +++ b/.config/zsh/.zshrc @@ -14,21 +14,14 @@ PATH="$HOME/bin:$PATH" PATH="$HOME/.local/bin:$PATH" PATH="$HOME/.dotnet/tools:$PATH" export PATH - export EDITOR=vim export VISUAL=vim export PAGER=most alias q='exit' alias c='clear' -alias h='history' -alias cl='c;l' -alias p='cat' -alias k='kill' -alias null='/dev/null' alias r='ranger' alias nf='neofetch' -alias pf='pfetch' alias ls='exa' alias l='exa -1' @@ -37,55 +30,19 @@ alias ll='exa -la' alias lt='exa -T' alias lh="exa -1dI '.|..' .*" -alias g='git' alias gs='git status' alias lg="git log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(cyan)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all" -alias com='git commit' -alias sth='git stash' -alias clone='git clone' -alias u='git add -u' -alias gdf='git diff' -alias gpl='git pull' alias config='/usr/bin/git --git-dir=/home/adam/.cfg/ --work-tree=/home/adam' alias cs='config status' alias clg="config log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(cyan)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all" -alias ccom='config commit' -alias csth='config stash' -alias cu='config add -u' -alias cdf='config diff' -alias cpl='config pull' -alias cvim='GIT_DIR=$HOME/.cfg GIT_WORK_TREE=$HOME vim' -alias loadzsh='source $XDG_CONFIG_HOME/zsh/.zshrc' alias zshrc='vim $XDG_CONFIG_HOME/zsh/.zshrc' alias vimrc='vim ~/.vim/vimrc' alias nvimrc='cd $XDG_CONFIG_HOME/nvim;nvim .' alias i3config='vim $XDG_CONFIG_HOME/i3/config' alias startup='vim $XDG_CONFIG_HOME/i3/init' -cpy() { readlink -en $1 | xclip -sel clipboard; } - -cd_up() { - case $1 in - *[!0-9]*) - cd $( pwd | sed -r "s|(.*/$1[^/]*/).*|\1|i" ) - ;; - *) - cd $(printf "%0.0s../" $(seq 1 $1)); - ;; - esac -} -alias '..'='cd_up' -alias ghd='cd ~/Documents/github' -alias aau='cd ~/Documents/uni/5\ Semester' -alias game='cd ~/Documents/github/2018shock/' -alias nova='ssh -p 2080 adam@nova' -alias rpi='ssh -p 2080 adam@rpi2' -alias todo='vim ~/Documents/todo.txt' - -alias luamake=/home/adam/Documents/github/lua-language-server/3rd/luamake/luamake - function zvm_after_init() { source '/usr/share/fzf/key-bindings.zsh' source '/usr/share/fzf/completion.zsh' |