diff --git a/bash_aliases b/bash_aliases index 935b627..49879c7 100644 --- a/bash_aliases +++ b/bash_aliases @@ -20,10 +20,8 @@ alias dt='date "+%F %T"' if [ "$BASH" ]; then export HISTTIMEFORMAT="%Y-%m-%d_%H:%M:%S " export PROMPT_COMMAND="${PROMPT_COMMAND:+$PROMPT_COMMAND ; }"'echo "`date +'%y.%m.%d-%H:%M:%S:'`" $USER "$(pwd)" "$(history 1 | cut -c8-)" >> ~/.bash_eternal_history' - alias ehistory='tail -f ~/.bash_eternal_history' - #export PROMPT_COMMAND="${PROMPT_COMMAND:+$PROMPT_COMMAND ; }"'echo "`date +'%y.%m.%d-%H:%M:%S:'`" $USER "$(pwd)" "$(history 1 | cut -c8-)" >> /var/log/hist' - #alias ehistory='tail -f /var/log/hist' - readonly PROMPT_COMMAND + alias ehistory='cat ~/.bash_eternal_history|grep $@' + #readonly PROMPT_COMMAND readonly HISTSIZE readonly HISTFILE readonly HOME @@ -31,11 +29,11 @@ if [ "$BASH" ]; then readonly HISTCONTROL fi - alias install='sudo apt-get install' alias remove='sudo apt-get remove' alias update='sudo apt-get update' -alias upgrade='sudo apt-get update && sudo apt-get upgrade' +alias upgrade='sudo apt-get upgrade' +alias autoremove='sudo apt-get autoremove' alias ..='cl ..' alias ytdl="youtube-dl $@ -x --audio-format mp3 --audio-quality 0 -c -o '%(title)s.%(ext)s'" alias tux="tmux a||tmux" diff --git a/bash_functions b/bash_functions index b179e47..e38292b 100644 --- a/bash_functions +++ b/bash_functions @@ -23,6 +23,9 @@ function initify(){ git init git remote add origin git@98.26.78.121:$1/$2.git git remote add https https://98.26.78.121/gitlab/$1/$2.git + #Offline mode + git remote add oOrigin git@10.0.1.200:$1/$2.git + git remote add oHttps https://10.0.1.200/gitlab/$1/$2.git git remote -v } export -f initify diff --git a/bashrc b/bashrc index 1fa3ef1..9b8e34f 100644 --- a/bashrc +++ b/bashrc @@ -117,7 +117,10 @@ if ! shopt -oq posix; then fi fi export CLASSPATH=/home/stonewareslord/ownCloud/school/compsci/Year2/classes/gridworld.jar +PATH=$PATH:/home/stonewareslord/tmp/ucpp/ucpp/ function tsh(){ ssh $* -t 'tmux a || tmux || /bin/bash' } [[ -s /home/stonewareslord/.autojump/etc/profile.d/autojump.sh ]] && source /home/stonewareslord/.autojump/etc/profile.d/autojump.sh +export PATH=/home/stonewareslord/.autojump/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/stonewareslord/tmp/ucpp/ucpp/:/home/stonewareslord/tmp/ucpp/ucpp/:/home/stonewareslord/hitchhikers/bin/ucpp/ucpp:/home/stonewareslord/hitchhikers/bin/ucpp/ucpp +alias frcbot='python build'