From 0dda0744325128d5a73104de43bb7dc74f57ae72 Mon Sep 17 00:00:00 2001 From: adamstuck Date: Thu, 2 Dec 2021 20:59:24 +0100 Subject: bashrc cleanup --- .bashrc | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) (limited to '.bashrc') diff --git a/.bashrc b/.bashrc index 4965877..f9bb5ea 100644 --- a/.bashrc +++ b/.bashrc @@ -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)" -- cgit v1.2.3-70-g09d2