commit b5979ff605d44c526d71ce1902fe22f5c84d2ec5
parent 607e9b7836524d20f7f409fc32de8c45e61fab06
Author: Vincent Demeester <vincent@sbr.pm>
Date: Thu, 9 Jul 2020 18:58:49 +0200
users/vincent: add some zsh suffix aliases
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/users/vincent/core/zsh.nix b/users/vincent/core/zsh.nix
@@ -72,6 +72,8 @@ in
alias -g EEL=' 2>&1 | less'
alias -g GB='`git rev-parse --abbrev-ref HEAD`'
alias -g GR='`git rev-parse --show-toplevel`'
+ alias -s {ape,avi,flv,m4a,mkv,mov,mp3,mp4,mpeg,mpg,ogg,ogm,wav,webm}=mpv
+ alias -s org=emacs
(( $+commands[jq] )) && alias -g MJ="| jq -C '.'" || alias -g MJ="| ${pkgs.python3}/bin/python -mjson.tool"
'';
loginExtra = ''