mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-10 02:29:22 +01:00
{bash,zsh}rc: aliases for pnpm, prettier, jekyll
This commit is contained in:
parent
6896d9d096
commit
065cb49ab2
22
rc/bashrc
22
rc/bashrc
@ -575,7 +575,27 @@ alias rm="\rm --verbose"
|
||||
alias ln="\ln --verbose"
|
||||
alias mkdir="\mkdir --verbose"
|
||||
alias chattr="\chattr -V"
|
||||
alias chmod=--"\chmod --verbose"
|
||||
alias chmod="\chmod --verbose"
|
||||
|
||||
# pnpm does less duplicating around
|
||||
if hash pnpm 2>/dev/null; then
|
||||
alias npm=pnpm
|
||||
alias npmx=pnpx
|
||||
alias npx=pnpx
|
||||
alias pnpmx=pnpx
|
||||
if ! hash prettier 2>/dev/null; then
|
||||
alias prettier="pnpx prettier"
|
||||
fi
|
||||
fi
|
||||
|
||||
# github-pages etc.
|
||||
if hash bundle 2>/dev/null; then
|
||||
alias jekyll="bundle exec jekyll"
|
||||
fi
|
||||
|
||||
# Helpful tool for increasing permissions on Android, for me mainly unattended
|
||||
# installations.
|
||||
alias shizuku="adb shell sh /storage/emulated/0/Android/data/moe.shizuku.privileged.api/start.sh"
|
||||
|
||||
# Allow custom aliases to be put in .aliases or .bash_aliases .
|
||||
|
||||
|
22
rc/zshrc
22
rc/zshrc
@ -565,7 +565,27 @@ alias rm="\rm --verbose"
|
||||
alias ln="\ln --verbose"
|
||||
alias mkdir="\mkdir --verbose"
|
||||
alias chattr="\chattr -V"
|
||||
alias chmod=--"\chmod --verbose"
|
||||
alias chmod="\chmod --verbose"
|
||||
|
||||
# pnpm does less duplicating around
|
||||
if hash pnpm 2>/dev/null; then
|
||||
alias npm=pnpm
|
||||
alias npmx=pnpx
|
||||
alias npx=pnpx
|
||||
alias pnpmx=pnpx
|
||||
if ! hash prettier 2>/dev/null; then
|
||||
alias prettier="pnpx prettier"
|
||||
fi
|
||||
fi
|
||||
|
||||
# github-pages etc.
|
||||
if hash bundle 2>/dev/null; then
|
||||
alias jekyll="bundle exec jekyll"
|
||||
fi
|
||||
|
||||
# Helpful tool for increasing permissions on Android, for me mainly unattended
|
||||
# installations.
|
||||
alias shizuku="adb shell sh /storage/emulated/0/Android/data/moe.shizuku.privileged.api/start.sh"
|
||||
|
||||
# Allow custom aliases to be put in .aliases or .zsh_aliases .
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user