diff --git a/dotfiles/.config/shell/aliasrc b/dotfiles/.config/shell/aliasrc index 77efb58..319d858 100644 --- a/dotfiles/.config/shell/aliasrc +++ b/dotfiles/.config/shell/aliasrc @@ -1,8 +1,7 @@ #!/bin/sh -[ -x "$(command -v nvim)" ] && alias vim="nvim" vimdiff="nvim -d" - alias e="$EDITOR" v="$EDITOR" +alias vim="nvim" vimdiff="nvim -d" alias mpvgui='mpv --player-operation-mode=pseudo-gui' alias wget='wget --hsts-file="$XDG_DATA_HOME/wget-hsts"' alias adb='HOME="$XDG_DATA_HOME"/android adb' @@ -56,16 +55,16 @@ alias trash-dir='cd $HOME/.local/share/Trash' alias val='valgrind --leak-check=full > valgrind.output 2>&1' alias copy='xclip -selection clipboard' -function compile() { +compile() { sudo make clean && sudo make install } -function rcomp() { +rcomp() { local file="${1//.rmd/}" R -e "rmarkdown::render('$file.rmd', 'pdf_document')" && op $file.pdf } -function fcd() { +fcd() { local fd_options fzf_options target fd_options=( diff --git a/dotfiles/other/etc/systemd/system/getty@tty1.service.d/skip-username.conf b/dotfiles/other/etc/systemd/system/getty_tty1.service.d/skip-username.conf similarity index 100% rename from dotfiles/other/etc/systemd/system/getty@tty1.service.d/skip-username.conf rename to dotfiles/other/etc/systemd/system/getty_tty1.service.d/skip-username.conf