-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.fish
35 lines (30 loc) · 1009 Bytes
/
config.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
if status is-interactive
# Commands to run in interactive sessions can go here
set -x BUN_INSTALL $HOME/.bun
set -x PATH $BUN_INSTALL/bin $PATH
set -x PATH $PATH (go env GOPATH)/bin
set -x PATH /usr/local/opt/ruby/bin $PATH
set -x ANDROID_HOME $HOME/Library/Android/sdk
set -x PATH $PATH $ANDROID_HOME/emulator
set -x PATH $PATH $ANDROID_HOME/tools
set -x PATH $PATH $ANDROID_HOME/tools/bin
set -x PATH $ANDROID_HOME/platform-tools $PATH
zoxide init fish --cmd cd | source
end
function fish_title
set -l current_dir (basename (pwd))
set -l parent_dir (basename (dirname (pwd)))
echo $parent_dir/$current_dir
end
function ls --wraps='eza --icons=always' --description 'alias ls=eza --icons=always'
eza --icons=always $argv
end
function cat --wraps=bat --description 'alias cat=bat'
bat $argv
end
function top --wraps=btm --description 'alias top=btm'
btm $argv
end
function v --wraps=nvim --description 'alias v=nvim'
nvim $argv
end