diff --git a/dot_bashrc b/dot_bashrc index 893bea4..0566fb5 100644 --- a/dot_bashrc +++ b/dot_bashrc @@ -42,6 +42,10 @@ fi if hash hexyl 2>/dev/null; then alias xxd="hexyl" fi +if hash micro 2>/dev/null; then + alias edit="micro" + alias nano="micro" +fi if hash xdg-open 2>/dev/null; then alias start="xdg-open" fi diff --git a/dot_config/eget/executable_post_install.sh b/dot_config/eget/executable_post_install.sh index 363ef40..5a81477 100644 --- a/dot_config/eget/executable_post_install.sh +++ b/dot_config/eget/executable_post_install.sh @@ -63,16 +63,16 @@ fi # 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 # 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 # 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 # Unchange directory -popd > /dev/null \ No newline at end of file +popd > /dev/null diff --git a/dot_config/zsh/dot_zshrc b/dot_config/zsh/dot_zshrc index 3aae6ce..5fde0be 100644 --- a/dot_config/zsh/dot_zshrc +++ b/dot_config/zsh/dot_zshrc @@ -25,6 +25,8 @@ alias du="dust" alias tldr="tealdeer" alias xxd="hexyl" 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="paru; flatpak update" alias rc="source ~/.config/zsh/.zshrc"