34 lines
782 B
Fish
34 lines
782 B
Fish
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
|