Update dotfiles
This commit is contained in:
parent
d5eb0781f5
commit
d212de838d
|
@ -1,8 +1,7 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
[ -x "$(command -v nvim)" ] && alias vim="nvim" vimdiff="nvim -d"
|
|
||||||
|
|
||||||
alias e="$EDITOR" v="$EDITOR"
|
alias e="$EDITOR" v="$EDITOR"
|
||||||
|
alias vim="nvim" vimdiff="nvim -d"
|
||||||
alias mpvgui='mpv --player-operation-mode=pseudo-gui'
|
alias mpvgui='mpv --player-operation-mode=pseudo-gui'
|
||||||
alias wget='wget --hsts-file="$XDG_DATA_HOME/wget-hsts"'
|
alias wget='wget --hsts-file="$XDG_DATA_HOME/wget-hsts"'
|
||||||
alias adb='HOME="$XDG_DATA_HOME"/android adb'
|
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 val='valgrind --leak-check=full > valgrind.output 2>&1'
|
||||||
alias copy='xclip -selection clipboard'
|
alias copy='xclip -selection clipboard'
|
||||||
|
|
||||||
function compile() {
|
compile() {
|
||||||
sudo make clean && sudo make install
|
sudo make clean && sudo make install
|
||||||
}
|
}
|
||||||
|
|
||||||
function rcomp() {
|
rcomp() {
|
||||||
local file="${1//.rmd/}"
|
local file="${1//.rmd/}"
|
||||||
R -e "rmarkdown::render('$file.rmd', 'pdf_document')" && op $file.pdf
|
R -e "rmarkdown::render('$file.rmd', 'pdf_document')" && op $file.pdf
|
||||||
}
|
}
|
||||||
|
|
||||||
function fcd() {
|
fcd() {
|
||||||
local fd_options fzf_options target
|
local fd_options fzf_options target
|
||||||
|
|
||||||
fd_options=(
|
fd_options=(
|
||||||
|
|
Loading…
Reference in New Issue