Compare commits
2 Commits
12724a59af
...
5d15bc9369
Author | SHA1 | Date |
---|---|---|
Ray Elliott | 5d15bc9369 | |
Ray Elliott | 3694016696 |
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
13
profile
13
profile
|
@ -7,7 +7,12 @@ if command -v ruby ; then
|
||||||
export PATH="$ruby_path:$PATH"
|
export PATH="$ruby_path:$PATH"
|
||||||
fi &> /dev/null
|
fi &> /dev/null
|
||||||
|
|
||||||
export PATH="$PATH:$HOME/.local/bin:$ruby_path"
|
if command -v php ; then
|
||||||
|
phpcs_path=$(composer global config bin-dir --absolute)
|
||||||
|
export PATH="$phpcs_path:$PATH"
|
||||||
|
fi &> /dev/null
|
||||||
|
|
||||||
|
export PATH="$PATH:$HOME/.local/bin"
|
||||||
|
|
||||||
# https://developers.google.com/web/tools/puppeteer/troubleshooting
|
# https://developers.google.com/web/tools/puppeteer/troubleshooting
|
||||||
export CHROME_DEVEL_SANDBOX=/usr/lib/chromium/chrome-sandbox
|
export CHROME_DEVEL_SANDBOX=/usr/lib/chromium/chrome-sandbox
|
||||||
|
@ -26,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"
|
||||||
|
|
Loading…
Reference in New Issue