Skip to content

Instantly share code, notes, and snippets.

@dimaqq
Created December 10, 2021 06:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dimaqq/597121e6bc15dfc7925356c17e517785 to your computer and use it in GitHub Desktop.
Save dimaqq/597121e6bc15dfc7925356c17e517785 to your computer and use it in GitHub Desktop.
functions -c fish_prompt _raw_fish_prompt
function fish_prompt
string replace user@MACHINE … (_raw_fish_prompt)
end
set -x LANG en_GB.UTF-8
alias v=vim
set -x EDITOR vim
eval (direnv hook fish)
set -g fish_user_paths ~/.yarn/bin "/usr/local/opt/coreutils/libexec/gnubin" "/usr/local/opt/gettext/bin" $fish_user_paths
alias top=htop
alias gc="git commit"
alias gcam="git commit -am"
alias gt="git tree"
function gs
git status --short
__fish_git_prompt
end
# Setting PATH for Python 3.10
set -x PATH "/Library/Frameworks/Python.framework/Versions/3.10/bin" "$PATH"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment