diff --git a/.config/fish/functions/clean.fish b/.config/fish/functions/clean.fish index c8ba190..3c46933 100644 --- a/.config/fish/functions/clean.fish +++ b/.config/fish/functions/clean.fish @@ -1,4 +1,4 @@ -# Defined in /tmp/fish.n1quHQ/clean.fish @ line 2 +# Defined in /tmp/fish.ZMRtWG/clean.fish @ line 2 function clean up fc-cache -f -v @@ -14,8 +14,6 @@ function clean rm -r ~/.cache/* rm -r ~/.nv/* rm -r ~/.local/share/nvim/swap/ - rm -r $D/Games/Emulators/*/canary - rm -r $D/Games/Emulators/*/*og* s solbuild delete-cache s sync end diff --git a/.config/fish/functions/clip.fish b/.config/fish/functions/clip.fish new file mode 100644 index 0000000..99e7060 --- /dev/null +++ b/.config/fish/functions/clip.fish @@ -0,0 +1,8 @@ +# Defined in /tmp/fish.VJPA2j/clip.fish @ line 1 +function clip + if test $argv + echo $argv | xclip -i -selection clipboard + else + cat - | xclip -i -selection clipboard + end +end