mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-29 06:29:36 +01:00
zsh_aliases: added extension things.
This commit is contained in:
parent
993f162a2f
commit
59f46c50ab
18
zsh_aliases
18
zsh_aliases
@ -84,3 +84,21 @@ alias checkinstall="make install "
|
|||||||
# The Battle for Wesnoth specific, http://wesnoth.org/
|
# The Battle for Wesnoth specific, http://wesnoth.org/
|
||||||
# It seems to be an good idea to have debug logs on terminal with svn version.
|
# It seems to be an good idea to have debug logs on terminal with svn version.
|
||||||
alias wesnoth="wesnoth --debug"
|
alias wesnoth="wesnoth --debug"
|
||||||
|
|
||||||
|
# Auto extension things, ( modified from https://wiki.archlinux.org/index.php/Zsh#Advanced_.zshrc_files )
|
||||||
|
alias -s html=$BROWSER
|
||||||
|
alias -s org=$BROWSER
|
||||||
|
alias -s php=$BROWSER
|
||||||
|
alias -s com=$BROWSER
|
||||||
|
alias -s net=$BROWSER
|
||||||
|
alias -s png="eog"
|
||||||
|
alias -s jpg="eog"
|
||||||
|
alias -s gif="eog"
|
||||||
|
alias -s sxw="libreoffice --writer"
|
||||||
|
alias -s doc="libreoffice --writer"
|
||||||
|
alias -s gz='tar -xzvf'
|
||||||
|
alias -s bz2='tar -xjvf'
|
||||||
|
#alias -s java=$EDITOR
|
||||||
|
alias -s txt=$EDITOR
|
||||||
|
alias -s PKGBUILD=$EDITOR
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user