summaryrefslogtreecommitdiffstats
path: root/.config
diff options
context:
space:
mode:
authorPeter2021-01-19 22:02:22 +0000
committerPeter2021-01-19 22:02:22 +0000
commitc5f1199861b4fcb9b212c0459881326eb980b2e1 (patch)
tree522d31b04bf944af770a5cd9e56251a6b4487f5b /.config
parent7c74560d90400940f244909b965339451e614286 (diff)
downloaddotfiles-c5f1199861b4fcb9b212c0459881326eb980b2e1.tar.gz
dotfiles-c5f1199861b4fcb9b212c0459881326eb980b2e1.tar.bz2
dotfiles-c5f1199861b4fcb9b212c0459881326eb980b2e1.zip
Add merge function
Diffstat (limited to '.config')
-rw-r--r--.config/fish/config.fish1
1 files changed, 1 insertions, 0 deletions
diff --git a/.config/fish/config.fish b/.config/fish/config.fish
index 34856b1..c942b3c 100644
--- a/.config/fish/config.fish
+++ b/.config/fish/config.fish
@@ -38,6 +38,7 @@ alias vaultedit='find "$SYNCDIR" -maxdepth 5 -type f | fzf --preview "cat {}" --
# Functions
function fractodec; echo "scale=2; $argv" | bc; end
+function mergeinto; rsync --progress --remove-source-files -av "$argv[1]" "$argv[2]" && find "$argv[1]" -empty -delete ; end
function sudo; if test "$argv" = !!; eval command sudo $history[1]; else; command sudo $argv; end; end
function ytsearch; mpv "ytdl://ytsearch:\"$argv\""; end
function split; ffmpeg -i "$argv[1]" -ss "$argv[2]:00" -to "$argv[3]:00" -c copy split-$argv[1]; end