This commit is contained in:
Ray Elliott 2022-03-04 17:40:57 +00:00
parent 3694016696
commit 5d15bc9369
2 changed files with 9 additions and 3 deletions

View File

@ -1,7 +1,12 @@
# fix problem with aur package: anki-official-binary-bundle 2.1.49-1
alias anki='anki --no-sandbox'
# enable aliases for commands inside sudo # enable aliases for commands inside sudo
# TOOD check this is safe # TOOD check this is safe
alias sudo='sudo ' alias sudo='sudo '
alias gitknow='cd ~/knowledge-base&& git add . && git status && git commit -m update && git push'
alias e='nvim' alias e='nvim'
alias pcm='pcmanfm . &' alias pcm='pcmanfm . &'
@ -100,3 +105,4 @@ newsh() {
chmod +x "$1" chmod +x "$1"
nvim "$1" +3 nvim "$1" +3
} }

View File

@ -31,9 +31,9 @@ export AUTOENV_ENABLE_LEAVE=1
[ -f "$HOME/.src/autoenv/activate.sh" ] && . "$HOME/.src/autoenv/activate.sh" [ -f "$HOME/.src/autoenv/activate.sh" ] && . "$HOME/.src/autoenv/activate.sh"
# z.sh # z.sh
if [ -f "$HOME/.z.lua/z.lua" ] ; then if [ -n "$ZSH_VERSION" ] && [ -f "$HOME/.z.lua/z.lua" ] ; then
eval "$(lua $HOME/.z.lua/z.lua --init zsh enhanced once)" eval "$(lua $HOME/.z.lua/z.lua --init zsh enhanced once)"
fi fi
# custom aliases # custom aliases
[ -f "$HOME/.config/profile/aliases.sh" ] && . "$HOME/.config/profile/aliases.sh" [ -f "$HOME/.config/profile/aliases.sh" ] && . "$HOME/.config/profile/aliases.sh"