~koehr/configs

9fdf6ed4a03b6479e5756012db24c173c3f927c2 — Norman Köhring 1 year, 10 months ago 2add2a8
updates dotfiles
2 files changed, 15 insertions(+), 32 deletions(-)

M dot.profile
M dot.zshrc
M dot.profile => dot.profile +13 -30
@@ 1,43 1,15 @@
source /etc/profile

export EDITOR=kak
export GOPATH=$HOME/src/go
export CARGO_HOME=$HOME/.cargo
export PATH=$HOME/.local/bin:$HOME/.yarn/bin:$HOME/.local/share/npm-global/bin:$GOPATH/bin:$CARGO_HOME/bin:$HOME/.gem/ruby/2.7.0/bin:$PATH
export MANPATH=$HOME/.local/share/man:/usr/share/man:/usr/local/share/man

export _JAVA_AWT_WM_NONREPARENTING=1
export FREETYPE_PROPERTIES="truetype:interpreter-version=35 cff:darkening-parameters=500,300,1000,200,1500,100,2000,0 autofitter:warping=1"
export INFINALITY_FT_FILTER_PARAMS='10 35 40 35 10'

export LD_LIBRARY_PATH=$HOME/.local/lib:$HOME/.local/lib/haxe:/lib

alias xi="sudo xbps-install"
alias xq="xbps-query -Rs"
alias xqi="xbps-query -RS"
alias xql="xbps-query -s"
alias xqf="xbps-query -f"
alias xqo="xbps-query -o"
alias xqre="xbps-query -R --regex -s"
alias howto="howdoi -c"
alias icat="kitty +kitten icat"
alias wttr="curl wttr.in"
alias df="duf"
alias du="dust"
alias md="glow -p"
alias ls="lsd"
alias l="lsd -lha"
alias ll="lsd -lh"
alias lt="lsd --tree"
alias pp="bat"

# twtxt
alias ttt="txtnish tweet"
alias ttl="txtnish timeline"
alias ttf="txtnish follow"
alias ttu="txtnish unfollow"
alias ttr="txtnish reply"

short_url () {
  curl -F "shorten=$1" https://0x0.st
}


@@ 50,8 22,19 @@ if [[ "$TTY" == "/dev/tty"* ]]
then
  setfont drdos8x14
fi
. "$HOME/.cargo/env"

export CARGO_HOME=$HOME/.cargo
export PNPM_HOME="$HOME/.local/share/pnpm"
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"  # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"  # This loads nvm bash_completion

export PATH=$HOME/.local/bin:$HOME/.yarn/bin:$PNPM_HOME:$GOPATH/bin:$CARGO_HOME/bin:$PATH
export MANPATH=$HOME/.local/share/man:/usr/share/man:/usr/local/share/man

if [ "$TTY" = /dev/tty1 -a $USER != root -a ! -e /tmp/.X0-lock ]
TODO="$HOME/TODO/`date '+%Y%m%d'`.todo.txt"
if [ -f "$TODO" ]
then
  startx && clear && exit
  bat $TODO
fi

M dot.zshrc => dot.zshrc +2 -2
@@ 1,5 1,5 @@
bindkey -v
source ~/src/pkg/zgen/zgen.zsh
source ~/pkg/zgen/zgen.zsh
source ~/.zsh/kitty.compl.zsh

if ! zgen saved; then


@@ 26,7 26,7 @@ ZSH_HIGHLIGHT_HIGHLIGHTERS=(main brackets pattern)
ZSH_HIGHLIGHT_PATTERNS+=('rm -fr*' 'fg=white,bold,bg=red')
ZSH_HIGHLIGHT_PATTERNS+=('rm -rf*' 'fg=white,bold,bg=red')

PROJECT_PATHS=(~/src/wunderdog ~/src/koehr ~/src/pkg/)
PROJECT_PATHS=(~/src/Spenoki ~/src/koehr ~/src/pkg/)

# The next line updates PATH for the Google Cloud SDK.
if [ -f '/home/nk/src/pkg/google-cloud-sdk/path.zsh.inc' ]; then . '/home/nk/src/pkg/google-cloud-sdk/path.zsh.inc'; fi