This commit is contained in:
Sage Vaillancourt 2020-05-07 09:30:26 -04:00
commit 75ca94b41c
3 changed files with 10 additions and 2 deletions

View File

@ -46,6 +46,7 @@ alias systemctl="sudo systemctl"
alias fin="find -iname " alias fin="find -iname "
alias python="python3" alias python="python3"
alias py="python3"
# Use `grubdate` to update grub # Use `grubdate` to update grub
alias grubdate="sudo update-grub" alias grubdate="sudo update-grub"
@ -62,10 +63,13 @@ alias open2=_open2
alias pp=poweroff alias pp=poweroff
alias pwoeroff=poweroff alias pwoeroff=poweroff
# Use `ll` to get a detailed list of files # Use `ll` to get a detailed list of files, sorted by size
alias ll='ls --color=auto -Flh -w 80' alias ll='ls --color=auto -FlrSh -w 80'
alias ls='ls --color=auto -F -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 tags='ctags -f newtags -R . && mv newtags tags'
alias newvpn='sudo openvpn --config ~/.ssh/sagev.ovpn' alias newvpn='sudo openvpn --config ~/.ssh/sagev.ovpn'

2
.vimrc
View File

@ -104,6 +104,8 @@ nnoremap gs "xdiwdwep"xp
" Inverted " Inverted
nnoremap gb dawbP nnoremap gb dawbP
nnoremap <Leader>c :!cat % <Bar> xclip -selection clipboard<CR>
nnoremap <Leader>p :w<CR>:!make run<CR> nnoremap <Leader>p :w<CR>:!make run<CR>
nnoremap <Leader>gd :!git diff %<CR> nnoremap <Leader>gd :!git diff %<CR>

2
.zshrc
View File

@ -118,3 +118,5 @@ function getdot {
git pull git pull
cd - cd -
} }
export fsu="vaillanc@linprog.cs.fsu.edu"