Created
October 16, 2024 05:27
-
-
Save TheNetJedi/c3570bbbd36134ab6ba7e219eb93446e to your computer and use it in GitHub Desktop.
Fish Shell Basic Config
This file contains hidden or 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
set -g fish_greeting | |
# starship prompt - install starship for this to work | |
if status is-interactive | |
starship init fish | source | |
end | |
# List Directory (install eza for this to work) | |
alias l='eza -lh --icons=auto' # long list | |
alias ls='eza -1 --icons=auto' # short list | |
alias ll='eza -lha --icons=auto --sort=name --group-directories-first' # long list all | |
alias ld='eza -lhD --icons=auto' # long list dirs | |
alias lt='eza --icons=auto --tree' # list folder as tree | |
# Handy change dir shortcuts | |
abbr .. 'cd ..' | |
abbr ... 'cd ../..' | |
abbr .3 'cd ../../..' | |
abbr .4 'cd ../../../..' | |
abbr .5 'cd ../../../../..' | |
# Always mkdir a path (this doesn't inhibit functionality to make a single dir) | |
abbr mkdir 'mkdir -p' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
source - https://github.com/prasanthrangan/hyprdots/blob/main/Configs/.config/fish/config.fish