Skip to content

Instantly share code, notes, and snippets.

@jpbarbosa
Created May 23, 2025 09:36
Show Gist options
  • Save jpbarbosa/4281051d27846da2f4a70ec40c7fd107 to your computer and use it in GitHub Desktop.
Save jpbarbosa/4281051d27846da2f4a70ec40c7fd107 to your computer and use it in GitHub Desktop.
set -gx LANG en_US.UTF-8
set -U fish_history_limit 10000
eval (/opt/homebrew/bin/brew shellenv)
starship init fish | source
# bind \e cancel # FIXME: remove or check how to get ESC/escape working to ignore autocomplete suggestions
if status is-interactive
# Commands to run in interactive sessions can go here
end
alias ai="gh copilot suggest -t shell"
alias cd="z"
alias cat="bat"
alias doco="docker compose"
alias ls="eza --icons=always" # --color=always --long --git --no-filesize —-no-time —-no-user --no-permissions
alias ll="ls -la"
alias myip="curl -4 ifconfig.me"
set -gx NANORC ~/.config/nano/nanorc
fzf --fish | source
zoxide init fish | source
export FZF_CTRL_T_OPTS="
--style full
--walker-skip .git, node_modules, vendor
--preview 'bat -n --color=always {}'
--bind 'ctrl-/:change-preview-window(down|hidden|)'"
for config_file in ~/.config/fish/conf.d/*.fish
if test -f $config_file
source $config_file
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment