You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: fish/config.fish
+21-27Lines changed: 21 additions & 27 deletions
Original file line number
Diff line number
Diff line change
@@ -1,33 +1,26 @@
1
-
# ~/.config/fish/config.fish: DO NOT EDIT -- this file has been generated
2
-
# automatically by home-manager.
3
-
4
-
# Only execute this file once per shell.
5
-
set-q __fish_home_manager_config_sourced; andexit
6
-
set-g __fish_home_manager_config_sourced 1
7
-
8
-
iftest-f ~/.localrc.fish
9
-
source ~/.localrc.fish
10
-
end
11
-
12
-
fish_add_path -a ~/Applications/Ghostty.app/Contents/MacOS/
13
-
fish_add_path -a /Applications/Postgres.app/Contents/Versions/latest/bin/
1
+
fish_add_path -p ~/Developer/Go/bin
2
+
fish_add_path -p ~/.cargo/bin/
3
+
fish_add_path -p ~/.bin/
14
4
fish_add_path -a /opt/homebrew/bin/
5
+
fish_add_path -a /Applications/Postgres.app/Contents/Versions/latest/bin/
6
+
fish_add_path -a ~/Applications/Ghostty.app/Contents/MacOS/
15
7
16
8
status is-interactive; andbegin
17
-
#Aliases
9
+
#apps et al
18
10
alias d docker
19
-
alias dp podman
20
11
alias e nvim
21
-
alias egms 'e; git switch (git main-branch); and git sync'
22
-
alias fd 'fd --hidden'
12
+
alias v nvim
13
+
alias vimdiff 'nvim -d'
14
+
alias ta 'tmux new -A -s default'
23
15
alias freeze 'freeze -c full'
16
+
17
+
# git
24
18
alias g git
25
19
alias ga 'git add'
26
20
alias gaa 'git add -A'
27
21
alias gb 'git branch -v'
28
22
alias gc 'git commit -s'
29
23
alias gca 'git commit -sa'
30
-
alias gcai 'git --no-pager diff | mods '\''write a commit message for this patch. also write the long commit message. use semantic commits. break the lines at 80 chars'\''>.git/gcai; git commit -a-F .git/gcai -e'
31
24
alias gcam 'git commit -sam'
32
25
alias gcm 'git commit -sm'
33
26
alias gco 'git checkout'
@@ -46,6 +39,8 @@ status is-interactive; and begin
46
39
alias gs 'git status -sb'
47
40
alias gw 'git switch'
48
41
alias gwc 'git switch -c'
42
+
43
+
# kubectl
49
44
alias k kubectl
50
45
alias kd 'kubectl describe'
51
46
alias kdebug 'kubectl run -i -t debug --rm --image=caarlos0/debug --restart=Never'
@@ -64,17 +59,16 @@ status is-interactive; and begin
64
59
alias krm 'kubectl delete'
65
60
alias kvs 'kubectl view-secret'
66
61
alias kx kubectx
62
+
alias sk 'kubectl -n kube-system'
63
+
64
+
# files
65
+
alias fd 'fd --hidden'
67
66
alias la 'lsd -A'
68
67
alias ll 'lsd -l'
69
68
alias lla '/sd -lA'
70
69
alias llt 'lsd -l--tree'
71
70
alias ls lsd
72
71
alias lt 'lsd --tree'
73
-
alias sk 'kubectl -n kube-system'
74
-
alias ta 'tmux new -A-s default'
75
-
alias tf terraform
76
-
alias v nvim
77
-
alias vimdiff 'nvim -d'
78
72
79
73
# Interactive shell initialisation
80
74
fzf --fish | source
@@ -101,9 +95,9 @@ status is-interactive; and begin
0 commit comments