From eec27a1cf122f4a57be2c9c4c69f12a9d1f87845 Mon Sep 17 00:00:00 2001 From: Sage Vaillancourt Date: Thu, 23 Apr 2020 12:37:37 -0400 Subject: [PATCH 1/7] c copies to clipboard --- .vimrc | 2 ++ 1 file changed, 2 insertions(+) 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 % From 08b0bb72455b96337db2cb0354cf6b9ad1956cbd Mon Sep 17 00:00:00 2001 From: Sage Vaillancourt Date: Sun, 26 Apr 2020 20:17:35 -0400 Subject: [PATCH 2/7] Added fsu variable --- .zshrc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.zshrc b/.zshrc index 5403faf..43e469d 100644 --- a/.zshrc +++ b/.zshrc @@ -118,3 +118,5 @@ function getdot { git pull cd - } + +export fsu="sv15k@linprog.cs.fsu.edu" From f455709621399805aca200c87254e7cd7d631176 Mon Sep 17 00:00:00 2001 From: Sage Vaillancourt Date: Sun, 26 Apr 2020 20:19:11 -0400 Subject: [PATCH 3/7] Corrected FSU variable --- .zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.zshrc b/.zshrc index 43e469d..bb601e2 100644 --- a/.zshrc +++ b/.zshrc @@ -119,4 +119,4 @@ function getdot { cd - } -export fsu="sv15k@linprog.cs.fsu.edu" +export fsu="vaillanc@linprog.cs.fsu.edu" From f8c79c2dbe383ae0d6372d13bbcdc6575bcb3f1c Mon Sep 17 00:00:00 2001 From: Sage Vaillancourt Date: Thu, 30 Apr 2020 13:37:24 -0400 Subject: [PATCH 4/7] Add python shorthand --- .shell_aliases | 1 + 1 file changed, 1 insertion(+) diff --git a/.shell_aliases b/.shell_aliases index bfc3db0..a62a0ad 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" From 388175b9c29de8ac6e572741f69213001197c6a0 Mon Sep 17 00:00:00 2001 From: Sage Vaillancourt Date: Fri, 1 May 2020 14:53:21 -0400 Subject: [PATCH 5/7] Add 'du' total alias --- .shell_aliases | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.shell_aliases b/.shell_aliases index a62a0ad..b2ea946 100644 --- a/.shell_aliases +++ b/.shell_aliases @@ -67,6 +67,9 @@ alias pwoeroff=poweroff alias ll='ls --color=auto -Flh -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' From 61d9f09d7efc05b9f257c22b36279baec8332877 Mon Sep 17 00:00:00 2001 From: Sage Vaillancourt Date: Fri, 1 May 2020 14:55:39 -0400 Subject: [PATCH 6/7] 'll' now sorts by size --- .shell_aliases | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.shell_aliases b/.shell_aliases index b2ea946..34d4276 100644 --- a/.shell_aliases +++ b/.shell_aliases @@ -63,8 +63,8 @@ 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 -FlSh -w 80' alias ls='ls --color=auto -F -w 80' # Using du automatically finds the total From 95e8523007f613078f0eaed5e947d7b6299240f1 Mon Sep 17 00:00:00 2001 From: Sage Vaillancourt Date: Fri, 1 May 2020 14:57:03 -0400 Subject: [PATCH 7/7] 'll' puts biggest files at end --- .shell_aliases | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.shell_aliases b/.shell_aliases index 34d4276..f75122b 100644 --- a/.shell_aliases +++ b/.shell_aliases @@ -64,7 +64,7 @@ alias pp=poweroff alias pwoeroff=poweroff # Use `ll` to get a detailed list of files, sorted by size -alias ll='ls --color=auto -FlSh -w 80' +alias ll='ls --color=auto -FlrSh -w 80' alias ls='ls --color=auto -F -w 80' # Using du automatically finds the total