summaryrefslogtreecommitdiffstats
path: root/.config
diff options
context:
space:
mode:
Diffstat (limited to '.config')
-rw-r--r--.config/fish/config.fish2
1 files changed, 2 insertions, 0 deletions
diff --git a/.config/fish/config.fish b/.config/fish/config.fish
index df4e92c..e70a4be 100644
--- a/.config/fish/config.fish
+++ b/.config/fish/config.fish
@@ -45,12 +45,14 @@ alias vaultedit='find "$SYNCDIR" -maxdepth 5 -type f | fzf --preview "cat {}" --
function cheat; curl -s "http://cheat.sh/$argv"; end
function fractodec; math -s2 "$argv" ; end
function hextodec; math "0x$argv" ; end
+function macaddr; printf "%s\n" (curl -s https://api.macvendors.com/$argv); end
function mergeinto; rsync --progress --remove-source-files -av "$argv[1]" "$argv[2]" && find "$argv[1]" -empty -delete ; end
function mount-rw; sudo mount -o rw "$argv[1]" "$argv[2]"; end
function sessionexec; awk -v site="$argv[1]" '$0~site {print $2}' "$XDG_DATA_HOME/qutebrowser/sessions/default.yml"; end
function split; ffmpeg -i "$argv[1]" -ss "$argv[2]" -to "$argv[3]" -c copy split-$argv[1]; end
function sudo; if test "$argv" = !!; eval command sudo $history[1]; else; command sudo $argv; end; end
function vat; math "$argv + ($argv * 0.2)"; end
+function wallet; rbw get "2miners" | atto "$argv"; end
function ytsearch; mpv "ytdl://ytsearch:\"$argv\""; end
# Rclone config symlink