diff --git a/.shell_aliases b/.shell_aliases index 1c4a234..2709461 100644 --- a/.shell_aliases +++ b/.shell_aliases @@ -46,6 +46,7 @@ alias systemctl="sudo systemctl" alias fin="find -iname " alias python="python3" +alias py="python3" # Use `grubdate` to update grub alias grubdate="sudo update-grub" @@ -62,10 +63,13 @@ alias open2=_open2 alias pp=poweroff alias pwoeroff=poweroff -# Use `ll` to get a detailed list of files -alias ll='ls --color=auto -Flh -w 80' +# Use `ll` to get a detailed list of files, sorted by size +alias ll='ls --color=auto -FlrSh -w 80' alias ls='ls --color=auto -F -w 80' +# Using du automatically finds the total +alias du='du -sh' + alias tags='ctags -f newtags -R . && mv newtags tags' alias newvpn='sudo openvpn --config ~/.ssh/sagev.ovpn' diff --git a/.vimrc b/.vimrc index b7aea07..e013e59 100644 --- a/.vimrc +++ b/.vimrc @@ -104,6 +104,8 @@ nnoremap gs "xdiwdwep"xp " Inverted nnoremap gb dawbP +nnoremap c :!cat % xclip -selection clipboard + nnoremap p :w:!make run nnoremap gd :!git diff % diff --git a/.zshrc b/.zshrc index 5403faf..bb601e2 100644 --- a/.zshrc +++ b/.zshrc @@ -118,3 +118,5 @@ function getdot { git pull cd - } + +export fsu="vaillanc@linprog.cs.fsu.edu"