mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-26 02:12:33 +01:00
This is nothing. got deleted!
moved to zshrc.arch-zsh-template and edited. Was zshrc, but modified
This commit is contained in:
parent
27653a7524
commit
0dd83bd3aa
1 changed files with 9 additions and 9 deletions
18
templates/zshrc
Executable file → Normal file
18
templates/zshrc
Executable file → Normal file
|
|
@ -81,11 +81,11 @@ bindkey '^i' expand-or-complete-prefix
|
||||||
|
|
||||||
# Set up auto
|
# Set up auto
|
||||||
alias -s html=$BROWSER
|
alias -s html=$BROWSER
|
||||||
alias -s zip='tar -xzvf'
|
alias -s zip='tar -xf'
|
||||||
alias -s tar='tar -xzvf'
|
alias -s tar='tar -xf'
|
||||||
alias -s tgz='tar -xzvf'
|
alias -s tgz='tar -xf'
|
||||||
alias -s gz='tar -xzvf'
|
alias -s gz='tar -xf'
|
||||||
alias -s xz='tar -xzvf'
|
alias -s xz='tar -xf'
|
||||||
alias -s txt=$EDITOR
|
alias -s txt=$EDITOR
|
||||||
alias -s PKGBUILD=$EDITOR
|
alias -s PKGBUILD=$EDITOR
|
||||||
|
|
||||||
|
|
@ -104,10 +104,10 @@ alias pkg-list="pacman -Qei \$(pacman -Qq)|awk 'BEGIN {FS=\":\"}/^Name/{printf(\
|
||||||
alias -g DN='&> /dev/null &'
|
alias -g DN='&> /dev/null &'
|
||||||
|
|
||||||
pacman() {
|
pacman() {
|
||||||
|
pacman_bin=${commands[pacman-color]:-/usr/bin/pacman}
|
||||||
|
sudo_bin==sudo
|
||||||
case $1 in
|
case $1 in
|
||||||
-S | -S[^sih]* | -R* | -U*) /usr/bin/su -c"/usr/bin/pacman-color \"$@\"" || /usr/bin/su -c"/usr/bin/pacman \"$@\"" ;;
|
-S | -S[^sih]* | -R* | -U*) $sudo_bin /bin/su -c"$pacman_bin \"$@\"" ;;
|
||||||
*) /usr/bin/pacman-color "$@" || /usr/bin/pacman "$@" ;;
|
*) $pacman_bin "$@" ;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
/usr/local/share/oh-my-zsh.sh
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue