From c9acebd464b7c23e304d466f657e48cba4454959 Mon Sep 17 00:00:00 2001 From: Phantop Date: Wed, 14 Nov 2018 22:20:19 -0500 Subject: [PATCH] Edit clean function and add update function --- .config/fish/functions/clean.fish | 3 ++- .config/fish/functions/gupall.fish | 8 ++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 .config/fish/functions/gupall.fish diff --git a/.config/fish/functions/clean.fish b/.config/fish/functions/clean.fish index 7e87705..e42c4ed 100755 --- a/.config/fish/functions/clean.fish +++ b/.config/fish/functions/clean.fish @@ -1,4 +1,4 @@ -# Defined in /tmp/fish.cXbpuG/clean.fish @ line 2 +# Defined in /tmp/fish.p3ZSYS/clean.fish @ line 2 function clean s printf \ updatefonts @@ -10,5 +10,6 @@ function clean bleachbit -c (bleachbit -l|grep -v system.free_disk_space | grep -v transmission) s bleachbit -c (bleachbit -l|grep -v system.free_disk_space | grep -v transmission) rm -r ~/.cache/* + rm -r ~/.nv/* rm -r ~/.local/share/nvim/swap/ end diff --git a/.config/fish/functions/gupall.fish b/.config/fish/functions/gupall.fish new file mode 100644 index 0000000..a3e80df --- /dev/null +++ b/.config/fish/functions/gupall.fish @@ -0,0 +1,8 @@ +# Defined in /tmp/fish.xOFV2s/gupall.fish @ line 1 +function gupall + for i in * + cd $i + git pull + cd .. + end +end