added flatpak common aliases, zoxide init if it's installed
This commit is contained in:
parent
4a178e9bde
commit
94d9137901
11
.bashrc
Normal file → Executable file
11
.bashrc
Normal file → Executable file
@ -473,6 +473,11 @@ alias bootcli="sudo systemctl set-default multi-user.target"
|
||||
alias bootgui="sudo systemctl set-default graphical.target"
|
||||
|
||||
|
||||
# flatpak
|
||||
alias flatpaks="sudo flatpak install"
|
||||
alias flatpakr="sudo flatpak uninstall"
|
||||
|
||||
|
||||
# Git Aliases
|
||||
alias gac="git add .;git commit -m"
|
||||
alias gacc='f() { git add . ; git commit -m "$@" ; git push; }; f'
|
||||
@ -493,3 +498,9 @@ alias gr="touch README.md ;nano README.md" # choco install nano -y
|
||||
|
||||
|
||||
################################################################################
|
||||
|
||||
# Initialize Zoxide if it's installed
|
||||
if command -v zoxide &> /dev/null; then
|
||||
# Initialize zoxide with the 'cd' command
|
||||
eval "$(zoxide init --cmd cd bash)"
|
||||
fi
|
Loading…
Reference in New Issue
Block a user