Clean up things.
This commit is contained in:
@@ -1,7 +1,10 @@
|
|||||||
# For Rust stuff, uncomment this line
|
# Source rust things if they exist
|
||||||
. "$HOME/.cargo/env"
|
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"'
|
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
|
if [ -f /.dockerenv ]; then
|
||||||
export DOT_PACKAGES='git stow vim tmux ranger clang wget curl'
|
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'
|
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"
|
alias ,vbox="ps aux www |grep 'VBoxClient --draganddrop' | awk '{print $2}' | xargs kill"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Alias / export customizations
|
|
||||||
|
|
||||||
# colored GCC warnings and errors
|
# colored GCC warnings and errors
|
||||||
#export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01'
|
#export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01'
|
||||||
|
|
||||||
|
|||||||
@@ -24,7 +24,6 @@
|
|||||||
# + Source: https://www.seanh.cc/2020/12/27/copy-and-paste-in-tmux/
|
# + Source: https://www.seanh.cc/2020/12/27/copy-and-paste-in-tmux/
|
||||||
# + Depends: https://github.com/tmux-plugins/tmux-yank#linux
|
# + Depends: https://github.com/tmux-plugins/tmux-yank#linux
|
||||||
set -g mouse on
|
set -g mouse on
|
||||||
# Custom drop-down menu
|
|
||||||
|
|
||||||
set-option -s set-clipboard external
|
set-option -s set-clipboard external
|
||||||
bind-key -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel "xclip -selection clipboard -i"
|
bind-key -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel "xclip -selection clipboard -i"
|
||||||
|
|||||||
Reference in New Issue
Block a user