updoots
This commit is contained in:
@@ -10,9 +10,12 @@ alias t='tmux a || tmux'
|
||||
alias o='xdg-open' # to change a mime use: `xdg-mime default APPLICATION HANDLE`
|
||||
alias gg='git grep $1'
|
||||
alias tex='nix-shell ~/.dots/tex.nix'
|
||||
alias mktex="latexmk -xelatex -shell-escape"
|
||||
alias texmk="latexmk -xelatex -shell-escape"
|
||||
alias mktex=texmk
|
||||
alias lg="lazygit"
|
||||
|
||||
alias cdt='mkdir /tmp/$(cat /proc/sys/kernel/random/uuid); cd $_'
|
||||
|
||||
alias l='ls -lFh --color'
|
||||
alias la='ls -lAFh --color'
|
||||
alias ll='ls -l --color'
|
||||
@@ -21,6 +24,8 @@ alias rm='rm -i'
|
||||
alias cp='cp -i'
|
||||
alias mv='mv -i'
|
||||
|
||||
alias gg='git grep'
|
||||
|
||||
alias truecolor='curl -s https://raw.githubusercontent.com/JohnMorales/dotfiles/master/colors/24-bit-color.sh | bash'
|
||||
alias nssh='SSH_AUTH_SOCK= ssh'
|
||||
alias cpu='watch -n.1 "grep \"^[c]pu MHz\" /proc/cpuinfo"'
|
||||
@@ -41,7 +46,7 @@ ocr() {
|
||||
return
|
||||
fi
|
||||
name=${file%%.*}
|
||||
ocrmypdf -l deu+eng+jpn --output-type pdf $file ${name}.ocr.pdf
|
||||
ocrmypdf -l ger+eng --output-type pdf $file ${name}.ocr.pdf
|
||||
}
|
||||
|
||||
# deprecated
|
||||
|
||||
@@ -13,8 +13,9 @@ ICON="%(?.%{$fg[green]%}.%{$fg[red]%})λ>"
|
||||
DIR="%{$fg[blue]%}%~"
|
||||
GIT="%{$fg[red]%}\$vcs_info_msg_0_"
|
||||
HOSTN="%{$fg[yellow]%}%m "
|
||||
NEWLINE=$'\n'
|
||||
|
||||
export PROMPT="${HOSTN}${DIR}${GIT} ${BREAK}${ICON}%{$reset_color%} "
|
||||
export PROMPT="${HOSTN}${DIR}${GIT} ${BREAK}${NEWLINE}${ICON}%{$reset_color%} "
|
||||
zstyle ':vcs_info:git:*' formats ' (%b )'
|
||||
|
||||
# show info in title bar
|
||||
|
||||
Reference in New Issue
Block a user