diff options
author | Adam <56338480+adastx@users.noreply.github.com> | 2021-12-02 21:02:20 +0100 |
---|---|---|
committer | Adam <56338480+adastx@users.noreply.github.com> | 2021-12-02 21:02:20 +0100 |
commit | ce77153d0418371aa1990f32e4448445bbaa7556 (patch) | |
tree | 5c0dc2eb4b5da10706dc1400b1912f2fe20df497 /.bashrc | |
parent | 7290f63a13165cac835246fc0c55f6528ff8894d (diff) |
i3 and bashrc cleanup
Diffstat (limited to '.bashrc')
-rw-r--r-- | .bashrc | 35 |
1 files changed, 18 insertions, 17 deletions
@@ -38,23 +38,6 @@ alias ll='exa -la' alias lt='exa -T' alias lh="exa -1dI '.|..' .*" -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/' - -cpy() { readlink -en $1 | xclip -sel clipboard; } - alias g='git' alias gs='git status' alias lg='git log' @@ -82,6 +65,24 @@ 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 192.168.0.156' + alias luamake=/home/adam/Documents/github/lua-language-server/3rd/luamake/luamake eval "$(starship init bash)" |