Seprae the aliases
This commit is contained in:
parent
6698040877
commit
a816e697e9
3 changed files with 42 additions and 2 deletions
|
@ -6,7 +6,7 @@ set VISUAL "neovide" # $VISUAL use neovide in GUI m
|
||||||
|
|
||||||
source $HOME/.config/fish/completions/*
|
source $HOME/.config/fish/completions/*
|
||||||
source $HOME/.config/fish/functions/functions.fish # Loads the functions file
|
source $HOME/.config/fish/functions/functions.fish # Loads the functions file
|
||||||
source $HOME/.config/fish/aliases.sh # Loads the aliases file
|
source $HOME/.config/shell/aliases.sh # Loads the aliases file
|
||||||
source $HOME/.config/nnn/config.sh
|
source $HOME/.config/nnn/config.sh
|
||||||
|
|
||||||
export GTK_IM_MODULE="fcitx"
|
export GTK_IM_MODULE="fcitx"
|
||||||
|
@ -47,3 +47,10 @@ set fish_color_param brcyan
|
||||||
### SETTING THE STARSHIP PROMPT ###
|
### SETTING THE STARSHIP PROMPT ###
|
||||||
starship init fish | source
|
starship init fish | source
|
||||||
thefuck --alias | source
|
thefuck --alias | source
|
||||||
|
|
||||||
|
# pnpm
|
||||||
|
set -gx PNPM_HOME "/home/anas/.local/share/pnpm"
|
||||||
|
if not string match -q -- $PNPM_HOME $PATH
|
||||||
|
set -gx PATH "$PNPM_HOME" $PATH
|
||||||
|
end
|
||||||
|
# pnpm end
|
||||||
|
|
|
@ -41,4 +41,4 @@ SETUVAR fish_pager_color_selected_background:\x2d\x2dbackground\x3dbrblack
|
||||||
SETUVAR fish_pager_color_selected_completion:\x1d
|
SETUVAR fish_pager_color_selected_completion:\x1d
|
||||||
SETUVAR fish_pager_color_selected_description:\x1d
|
SETUVAR fish_pager_color_selected_description:\x1d
|
||||||
SETUVAR fish_pager_color_selected_prefix:\x1d
|
SETUVAR fish_pager_color_selected_prefix:\x1d
|
||||||
SETUVAR fish_user_paths:/usr/lib/jvm/default/bin\x1e/home/anas/\x2eemacs\x2ed/bin\x1e/snap/bin\x1e/home/anas/\x2elocal/bin\x1e/home/anas/Android/Sdk/platform\x2dtools\x1e/home/anas/\x2ecargo/bin\x1e/home/anas/\x2escripts
|
SETUVAR fish_user_paths:/home/anas/\x2econfig/emacs/bin\x1e/usr/lib/jvm/default/bin\x1e/home/anas/\x2eemacs\x2ed/bin\x1e/snap/bin\x1e/home/anas/\x2elocal/bin\x1e/home/anas/Android/Sdk/platform\x2dtools\x1e/home/anas/\x2ecargo/bin\x1e/home/anas/\x2escripts
|
||||||
|
|
33
.config/shell/aliases.sh
Normal file
33
.config/shell/aliases.sh
Normal file
|
@ -0,0 +1,33 @@
|
||||||
|
alias clear='clear && ufetch'
|
||||||
|
alias cls='/usr/bin/clear'
|
||||||
|
alias lsc='/usr/bin/ls --color=auto' # Default ls with colors
|
||||||
|
# alias ls='logo-ls -Dh' # Modern ls https://github.com/Yash-Handa/logo-ls
|
||||||
|
alias jls='jls -lh'
|
||||||
|
alias ls='jls'
|
||||||
|
alias cmus='cmus-rpc-rs --link &>/dev/null & /bin/cmus'
|
||||||
|
alias neofetch='neofetch --kitty /mnt/Data/Personalize/Wallpapers/anime --crop_mode fill --crop_offset center --xoffset 1 --yoffset 1'
|
||||||
|
alias nfe='neofetch'
|
||||||
|
|
||||||
|
# navigation
|
||||||
|
alias cd..='cd ..'
|
||||||
|
alias ..='cd ..'
|
||||||
|
alias ...='cd ../..'
|
||||||
|
alias .3='cd ../../..'
|
||||||
|
alias .4='cd ../../../..'
|
||||||
|
alias .5='cd ../../../../..'
|
||||||
|
|
||||||
|
|
||||||
|
# Colorize grep output (good for log files)
|
||||||
|
alias grep='grep --color=auto'
|
||||||
|
alias egrep='egrep --color=auto'
|
||||||
|
alias fgrep='fgrep --color=auto'
|
||||||
|
|
||||||
|
|
||||||
|
# confirm before overwriting something
|
||||||
|
alias cp="cp -i"
|
||||||
|
alias mv='mv -i'
|
||||||
|
# alias rm='rm -i'
|
||||||
|
|
||||||
|
# Update
|
||||||
|
alias fuck-my-lap='sudo pacman -Syyu'
|
||||||
|
|
Loading…
Reference in a new issue