Add dependencies
This commit is contained in:
33
config/fish/config.fish
Normal file
33
config/fish/config.fish
Normal file
@@ -0,0 +1,33 @@
|
||||
set --universal nvm_default_version v22.19.0
|
||||
set fish_add_path $HOME/.local/bin
|
||||
|
||||
# Get directory of this config file
|
||||
set -l config_dir (dirname (status current-filename))
|
||||
# go install github.com/mitranim/gow@latest
|
||||
# Path to secrets file relative to config.fish
|
||||
set -l secrets_file "$config_dir/secrets.fish"
|
||||
set -gx GOPATH "$HOME/go"
|
||||
set -gx JAVA_HOME "/usr/lib/jvm/java-17-openjdk/"
|
||||
set -gx ANDROID_HOME $HOME"/Android/Sdk/"
|
||||
|
||||
fish_add_path -a "$GOPATH/bin"
|
||||
|
||||
# Source if it exists
|
||||
if test -f $secrets_file
|
||||
source $secrets_file
|
||||
end
|
||||
|
||||
function fish_greeting
|
||||
# fastfetch
|
||||
# echo $ADMIN_TOKEN
|
||||
# set twing twong
|
||||
end
|
||||
|
||||
function cap
|
||||
git commit -a && git pull && git push && git pull
|
||||
end
|
||||
|
||||
function pbcopy
|
||||
read -lz input
|
||||
echo -n $input | xclip -selection c
|
||||
end
|
||||
2
config/fish/fish_plugins
Normal file
2
config/fish/fish_plugins
Normal file
@@ -0,0 +1,2 @@
|
||||
jorgebucaran/fisher
|
||||
jorgebucaran/nvm.fish
|
||||
Reference in New Issue
Block a user