Files
surface/config/fish/config.fish
2025-11-06 21:53:40 +00:00

38 lines
889 B
Fish

set nodejs_version "v22.21.0"
# 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/"
set --universal nvm_default_version $nodejs_version
# echo $nodejs_version
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