feat(fish): updated config, added alias

This commit is contained in:
2026-06-03 11:46:10 -04:00
parent 85d533a763
commit 51d87de514
2 changed files with 67 additions and 36 deletions
+6 -1
View File
@@ -25,7 +25,7 @@ if status is-interactive
command -qv tree && alias dtree "tree -L 3 -a -d -I '.git' --charset X "
command -qv wl-copy && alias cwd "wl-copy \$(pwd)"
command -qv wl-copy && alias copy-cmd "wl-copy \$(echo \$history[1])"
command -qv wl-copy && alias cc "wl-copy \$(echo \$history[1])"
command -qv fabric-ai && alias ai "fabric-ai -p \$(fabric-ai -l | fzf)"
command -qv xdg-open && alias o "xdg-open"
@@ -49,6 +49,10 @@ if status is-interactive
command -qv jj && alias rev "jj log -G -T 'commit_id.short(8)'"
if command -qv shred
alias nuke "shred -u -n 1"
end
if command -qv wt;
alias wtc "wt switch --create --execute=$EDITOR"
alias wts "wt switch"
@@ -84,6 +88,7 @@ if status is-interactive
if test -x /usr/bin/fzf;
/usr/bin/fzf --fish | source
alias zk="nvim \$(fzf --walker=file --walker-root=/home/sjb/Documents/nca-notes/ --preview 'bat --color=always -n --line-range :500 {}')"
#set -gx FZF_CTRL_T_OPTS "--preview 'bat --color=always -n --line-range :500 {}'"
#set -gx FZF_ALT_C_OPTS "--preview 'eza --icons=always --color=always {} | head -200'"
end