diff options
-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 |