Skip to content

Instantly share code, notes, and snippets.

@lucivaldo
Last active October 31, 2024 21:46
Show Gist options
  • Select an option

  • Save lucivaldo/06f62db241b12db8222681ac573d8c28 to your computer and use it in GitHub Desktop.

Select an option

Save lucivaldo/06f62db241b12db8222681ac573d8c28 to your computer and use it in GitHub Desktop.
My fish config
set -x GITLAB_PERSONAL_ACCESS_TOKEN abc
set -x ATHENAS_API_TOKEN abc
set -x SOLAR_API_TOKEN abc
set -x JQ_ATHENAS '.results[0] | { field1, field2, field3, field4: field4.subfield1.name }'
# go lang
fish_add_path /usr/local/go/bin
# flutter
fish_add_path $HOME/flutter/bin
# java
set -x JAVA_HOME /usr/local/java/jdk-x.y.z
fish_add_path $JAVA_HOME/bin
# android
set -x ANDROID_HOME $HOME/Android/Sdk
# ssh dpe
set -x DPE_SSH_URL <username>@<ip> -p <port>
alias desligar="shutdown -P now"
alias reiniciar="shutdown -r now"
starship init fish | source
# bun
set --export BUN_INSTALL "$HOME/.bun"
set --export PATH $BUN_INSTALL/bin $PATH
# rust
source "$HOME/.cargo/env.fish"
# ai
set -x OPENAI_API_KEY abc
# git shortcuts
alias ga="git add"
alias gb="git branch"
alias gc="git commit"
alias gcm="git commit -m"
alias gcl="git clone"
alias gco="git checkout"
alias gpu="git push"
alias gpl="git pull"
alias gst="git status"
alias gs="git status"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment