diff options
author | adamstuck <adam.moloney.stuck@gmail.com> | 2021-12-02 20:59:24 +0100 |
---|---|---|
committer | adamstuck <adam.moloney.stuck@gmail.com> | 2021-12-04 16:56:02 +0100 |
commit | 0dda0744325128d5a73104de43bb7dc74f57ae72 (patch) | |
tree | bbf6ebabc974397a02b9b09224014b9da54a417e | |
parent | 8386e5f7b37e9850deb8159397ec9a5342cadc3a (diff) |
bashrc cleanup
-rw-r--r-- | .bashrc | 34 | ||||
-rwxr-xr-x | .config/i3/extra/lidlock | 2 |
2 files changed, 18 insertions, 18 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,23 @@ 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 pc='ssh -p 2080 192.168.0.151' + alias luamake=/home/adam/Documents/github/lua-language-server/3rd/luamake/luamake eval "$(starship init bash)" diff --git a/.config/i3/extra/lidlock b/.config/i3/extra/lidlock index 81b3b49..8ab46d1 100755 --- a/.config/i3/extra/lidlock +++ b/.config/i3/extra/lidlock @@ -17,5 +17,5 @@ do fi OLD_STATE=$CUR_STATE - sleep 1 + sleep 5 done |