diff --git a/.bash_aliases b/.bash_aliases index 684326f..f99bbc7 100644 --- a/.bash_aliases +++ b/.bash_aliases @@ -1,7 +1,10 @@ -# For Rust stuff, uncomment this line -. "$HOME/.cargo/env" +# Source rust things if they exist +if [ -f ~/.cargo/env ]; then + . ~/.cargo/env +fi alias ,git='git config --global user.name "Shaun Reed" && git config --global user.email "shaunrd0@gmail.com"' +# Some aliases don't make sense in the docker image, like shortcuts to fix plasmashell. if [ -f /.dockerenv ]; then export DOT_PACKAGES='git stow vim tmux ranger clang wget curl' alias ,update='apt update -y && apt upgrade -y && apt upgrade --fix-broken --fix-missing --auto-remove' @@ -19,8 +22,6 @@ else alias ,vbox="ps aux www |grep 'VBoxClient --draganddrop' | awk '{print $2}' | xargs kill" fi -# Alias / export customizations - # colored GCC warnings and errors #export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01' diff --git a/.tmux.conf b/.tmux.conf index 7350b29..f65f78d 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -24,7 +24,6 @@ # + Source: https://www.seanh.cc/2020/12/27/copy-and-paste-in-tmux/ # + Depends: https://github.com/tmux-plugins/tmux-yank#linux set -g mouse on -# Custom drop-down menu set-option -s set-clipboard external bind-key -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel "xclip -selection clipboard -i"