Update dotfiles
This commit is contained in:
parent
d5eb0781f5
commit
d212de838d
|
@ -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=(
|
||||
|
|
Loading…
Reference in New Issue