Created
May 7, 2021 20:51
-
-
Save sainak/4dd1c0105f7e81fa4deb1a0e0ac1b488 to your computer and use it in GitHub Desktop.
install fish
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#install fish | |
paru -S fish pkgfile | |
#setup command not found | |
sudo pkgfile -u && sudo pkgfile makepkg | |
#install oh-my-fish | |
curl -L https://get.oh-my.fish | fish | |
#install theme | |
omf install bobthefish colored-man-pages fish-spec sudope omf | |
omf theme bobthefish | |
#yeah i use micro | |
micro ~/.config/fish/config.fish | |
set -g theme_nerd_fonts yes | |
set -g fish_escape_delay_ms 300 | |
set -g default_user aakash | |
set -g theme_project_dir_length 2 | |
set -g theme_color_scheme solarized | |
set -g theme_date_timezone Asia/Kolkata | |
set -U fish_user_paths $HOME/.local/bin $HOME/bin | |
alias cat='bat' | |
alias diff='diff --color=auto' | |
alias grep='grep --color=auto' | |
alias ip='ip -color=auto' | |
alias dtf='git --git-dir="$HOME/.dtf.git" --work-tree="$HOME"' | |
set -xU LESS_TERMCAP_md (printf "\e[01;31m") | |
set -xU LESS_TERMCAP_me (printf "\e[0m") | |
set -xU LESS_TERMCAP_so (printf "\e[01;44;33m") | |
set -xU LESS_TERMCAP_se (printf "\e[0m") | |
set -xU LESS_TERMCAP_us (printf "\e[01;32m") | |
set -xU LESS_TERMCAP_ue (printf "\e[0m") | |
direnv hook fish | source | |
#do the same for root | |
#for more | |
fish_config |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment