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
# TOOD check this is safe
alias sudo='sudo '
alias gitknow='cd ~/knowledge-base&& git add . && git status && git commit -m update && git push'
alias e='nvim'
alias pcm='pcmanfm . &'
@ -100,3 +105,4 @@ newsh() {
chmod +x "$1"
nvim "$1" +3
}

View File

@ -31,7 +31,7 @@ export AUTOENV_ENABLE_LEAVE=1
[ -f "$HOME/.src/autoenv/activate.sh" ] && . "$HOME/.src/autoenv/activate.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)"
fi