Add some more alias stuff
This commit is contained in:
parent
fd8ef13162
commit
17681ff33b
@ -42,6 +42,10 @@ fi
|
|||||||
if hash hexyl 2>/dev/null; then
|
if hash hexyl 2>/dev/null; then
|
||||||
alias xxd="hexyl"
|
alias xxd="hexyl"
|
||||||
fi
|
fi
|
||||||
|
if hash micro 2>/dev/null; then
|
||||||
|
alias edit="micro"
|
||||||
|
alias nano="micro"
|
||||||
|
fi
|
||||||
if hash xdg-open 2>/dev/null; then
|
if hash xdg-open 2>/dev/null; then
|
||||||
alias start="xdg-open"
|
alias start="xdg-open"
|
||||||
fi
|
fi
|
||||||
|
@ -63,15 +63,15 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
# Gen Desktop file for firefox appimage
|
# Gen Desktop file for firefox appimage
|
||||||
gendesk -f -n --pkgname "firefox" --name "Firefox" --exec "firefox" --icon "firefox" --categories "Network" --comment "Firefox Web Browser" --genericname "Web Browser"
|
gendesk -f -n --pkgname "firefox" --name "Firefox" --exec "firefox %u" --icon "firefox" --categories "Network" --comment "Firefox Web Browser" --genericname "Web Browser"
|
||||||
rsync --remove-source-files firefox.desktop ../share/applications
|
rsync --remove-source-files firefox.desktop ../share/applications
|
||||||
|
|
||||||
# Gen Desktop file for neovide
|
# Gen Desktop file for neovide
|
||||||
gendesk -f -n --pkgname "neovide" --name "Neovide" --exec "neovide" --icon "neovide" --categories "TextEditor;Development" --comment "Neovim GUI" --genericname "Neovim GUI"
|
gendesk -f -n --pkgname "neovide" --name "Neovide" --exec "neovide %F" --icon "neovide" --categories "TextEditor;Development" --comment "Neovim GUI" --genericname "Neovim GUI"
|
||||||
rsync --remove-source-files neovide.desktop ../share/applications
|
rsync --remove-source-files neovide.desktop ../share/applications
|
||||||
|
|
||||||
# Gen Desktop file for code
|
# Gen Desktop file for code
|
||||||
gendesk -f -n --pkgname "code" --name "Visual Studio Code" --exec "code" --icon "vscode" --categories "TextEditor;Development" --comment "Visual Studio Code" --genericname "Code Editor"
|
gendesk -f -n --pkgname "code" --name "Visual Studio Code" --exec "code %F" --icon "vscode" --categories "TextEditor;Development" --comment "Visual Studio Code" --genericname "Code Editor"
|
||||||
rsync --remove-source-files code.desktop ../share/applications
|
rsync --remove-source-files code.desktop ../share/applications
|
||||||
|
|
||||||
# Unchange directory
|
# Unchange directory
|
||||||
|
@ -25,6 +25,8 @@ alias du="dust"
|
|||||||
alias tldr="tealdeer"
|
alias tldr="tealdeer"
|
||||||
alias xxd="hexyl"
|
alias xxd="hexyl"
|
||||||
alias start="xdg-open"
|
alias start="xdg-open"
|
||||||
|
alias edit="micro"
|
||||||
|
alias nano="micro"
|
||||||
alias update-mirrors="rate-mirrors arch | sudo tee /etc/pacman.d/mirrorlist; rate-mirrors chaotic-aur | sudo tee /etc/pacman.d/chaotic-mirrorlist"
|
alias update-mirrors="rate-mirrors arch | sudo tee /etc/pacman.d/mirrorlist; rate-mirrors chaotic-aur | sudo tee /etc/pacman.d/chaotic-mirrorlist"
|
||||||
alias update="paru; flatpak update"
|
alias update="paru; flatpak update"
|
||||||
alias rc="source ~/.config/zsh/.zshrc"
|
alias rc="source ~/.config/zsh/.zshrc"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user