diff --git a/aliases b/aliases index 906b3f9d..c83cf83a 100644 --- a/aliases +++ b/aliases @@ -163,7 +163,7 @@ alias {sub,subreddit,subrd}="tuir -s" alias qwiki="wik -i" alias toolongdidntread="tldr" alias cheatsheet="cheat" -alias {trans,translate}="gtktranslate" +alias {trans,translate}="ltranslate" # gif recording, peek doesn't work right now... # help for this can be hard, use byzanz-record --help for more info, use silentcast to find x and y dimensions @@ -216,11 +216,11 @@ alias slink="streamlink" alias scrot="scrot --count --delay" alias grip="grip 6969" alias sudoku="sku" -alias figma="figma-linux" +alias rbd="checkrebuild -v" # pip list and pip freeze command list pip packages #Particularly useful commands more to remember than to use as aliases: -alias optimalbufsize= 'stat -c "%o"' # followed by filename will give you the optimal read/write BUFSIZE for a file +# alias optimalbufsize= 'stat -c "%o"' # followed by filename will give you the optimal read/write BUFSIZE for a file alias {rcrm,rrm}="doas xargs -d\\n rm -r -v" # when piped after locate or find command, recursively removes outputted files alias {rlast,dlast}="sed -i '$ d'" # removes last line of file alias athena="athena-jot" diff --git a/bashrc.txt b/bashrc.txt index 516adc5f..1a066d02 100644 --- a/bashrc.txt +++ b/bashrc.txt @@ -1,11 +1,11 @@ #!/bin/bash -# test + # Changing over to ZSH for now, bashrc is kept here as emergency shell/posterity # to change default shell, use chsh -s $(which bash) # ~/.bashrc # -history -c && history -w && hash -r +# history -c && history -w && hash -r # create custom env variables: # export cproj="$HOME/Documents/Code/web_tutorials/advanced_programming_in_the_UNIX_environment" export cproj="$HOME/Documents/Code/bash/bgit" @@ -15,7 +15,7 @@ export TUIR_BROWSER=librewolf export EDITOR=nvim # enable vi keybindings in terminal and terminal applications set -o vi -set -o noclobber +# set -o noclobber export PF_INFO="ascii os kernel pkgs shell wm editor" @@ -179,8 +179,8 @@ ex () HISTTIMEFORMAT="%d/%m/%y %T " # Displays current git branch if there is any and also styles bash prompt -export PS1='\[\033[01;34m\][\u@\h\[\033[01;37m\] \W\[\033[01;34m\]]\$\033[01;34m\] $(git branch 2>/dev/null | grep '^*' | colrm 1 2)\n\033[01;34m└─>\033[37m ' - +# export PS1='\[\033[01;34m\][\u@\h\[\033[01;37m\] \W\[\033[01;34m\]]\$\033[01;34m\] $(git branch 2>/dev/null | grep '^*' | colrm 1 2)\n\033[01;34m└─>\033[37m ' +export PS1='\[\033[01;34m\][\[\033[01;37m\] \W\[\033[01;34m\]]\$\033[01;34m\] $(git branch 2>/dev/null | grep '^*' | colrm 1 2)\033[01;34m\033[37m' # Configure thefuck eval "$(thefuck --alias)" export PATH="$PATH:$GOPATH/bin:/home/brian/scripts:/home/brian/.local/bin:/home/brian/.local/share/nvim/lsp_servers:/home/brian/.cargo/bin"