[nix] add tex nix-shell
This commit is contained in:
@@ -37,6 +37,7 @@ esac
|
|||||||
# ============================== Aliases
|
# ============================== Aliases
|
||||||
alias c='clear'
|
alias c='clear'
|
||||||
alias t='tmux a || tmux'
|
alias t='tmux a || tmux'
|
||||||
|
alias tex='nix-shell ~/.dots/tex.nix'
|
||||||
|
|
||||||
alias l='ls -lFh' #size,show type,human readable
|
alias l='ls -lFh' #size,show type,human readable
|
||||||
alias la='ls -lAFh' #long list,show almost all,show type,human readable
|
alias la='ls -lAFh' #long list,show almost all,show type,human readable
|
||||||
@@ -50,8 +51,6 @@ alias -g G='| grep -i'
|
|||||||
alias -g L='| less'
|
alias -g L='| less'
|
||||||
alias gg='git grep $1'
|
alias gg='git grep $1'
|
||||||
|
|
||||||
alias code='/usr/bin/code --enable-features=UseOzonePlatform --ozone-platform=wayland . 2>/dev/null'
|
|
||||||
|
|
||||||
# tools
|
# tools
|
||||||
ocr() {
|
ocr() {
|
||||||
if [ -z $1 ]; then
|
if [ -z $1 ]; then
|
||||||
@@ -303,3 +302,5 @@ bindkey '^Z' fancy-ctrl-z
|
|||||||
if [ -f ~/.zshrc_local ]; then
|
if [ -f ~/.zshrc_local ]; then
|
||||||
source ~/.zshrc_local
|
source ~/.zshrc_local
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ -e $HOME/.nix-profile/etc/profile.d/nix.sh ]; then . $HOME/.nix-profile/etc/profile.d/nix.sh; fi # added by Nix installer
|
||||||
|
|||||||
Reference in New Issue
Block a user