-
Notifications
You must be signed in to change notification settings - Fork 0
/
pseudobun.fish
71 lines (58 loc) · 1.65 KB
/
pseudobun.fish
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
set -g fish_greeting
set --export BUN_INSTALL "$HOME/.bun"
set --export PATH $BUN_INSTALL/bin $PATH
set --export GPG_TTY $(tty)
eval (/opt/homebrew/bin/brew shellenv)
fish_add_path ~/.cargo/bin/
kubectl completion fish | source
alias please='sudo'
alias launchtsm='osascript $HOME/.dotfiles/transmission_lift.osascript'
alias sweep='fd --hidden --no-ignore "^.DS_Store\$" --exclude "*node_modules*" --exec rm'
alias tsm='transmission-remote'
alias watchtsm="watch --interval 1 'transmission-remote -l'"
# pyenv init - | source
zoxide init fish | source
starship init fish | source
fzf --fish | source
# base abbrs
abbr -a htop btm
abbr -a top btm
abbr -a cd z
abbr -a l 'eza --icons -ahliH'
abbr -a k kubectl
abbr -a code cursor
# git abbrs
abbr -a ga 'git add'
abbr -a gaa 'git add --all'
abbr -a gs 'git status'
abbr -a gp 'git push'
abbr -a gc 'git checkout'
abbr -a gcm 'git commit -S -m'
abbr -a gcma 'git commit -aS -m'
abbr -a gm 'git merge'
abbr -a gr 'git rebase'
abbr -a gl 'git pull'
abbr -a gf 'git fetch'
abbr -a gb 'git branch'
abbr -a gba 'git branch -a'
abbr -a gbr 'git branch -r'
abbr -a gbd 'git branch -d'
abbr -a zeus 'ssh root@zeus'
abbr -a minsky 'ssh root@minsky'
abbr -a grp 'git remote prune origin'
abbr -a grb "git branch -vv | grep ': gone]' | awk '{print \$1}' | xargs git branch -D"
function cs
z $argv
eza --icons -ahliH
end
function md
markdown $argv[1] | lynx -stdin
end
function brew
command brew $argv
if contains upgrade $argv; or contains update $argv; or contains outdated $argv
sketchybar --trigger brew_update
end
end
source ~/.asdf/asdf.fish
fnm env --use-on-cd --version-file-strategy=recursive | source