123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236 |
- unset COLUMNS
- unset LINES
- export HOME=$(echo /home/$USER)
- export ZSH="$HOME/.oh-my-zsh"
- export GHCUP_INSTALL_BASE_PREFIX="$HOME/.config"
- export GOPATH="$HOME/go"
- PATH=$PATH:$HOME/.local/bin:$HOME/.cargo/bin:$HOME/.config/vifm/scripts:$HOME/Programs/AppImageApplications:$GHCUP_INSTALL_BASE_PREFIX/.ghcup/bin:$HOME/Programs/Android_SDK/platform-tools:$GOPATH/bin
- export EDITOR="vim"
- export VISUAL="gvim"
- export TERM="xterm-256color"
- export TERMINAL="alacritty"
- export BROWSER="brave"
- export PAGER="bat"
- export MANPAGER="sh -c 'col -bx | bat -l man -p'"
- export RANGER_LOAD_DEFAULT_RC=FALSE
- export ANDROID_SDK="$HOME/Programs/Android_SDK"
- export XDG_CONFIG_HOME="$HOME/.config"
- export XDG_DATA_HOME="$HOME/.local/share"
- export XDG_CACHE_HOME="$HOME/.cache"
-
- ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE="fg=#7d7d7d"
- ZSH_THEME="bira_my"
- plugins=(git asdf)
- alias lse='exa -g --color=always --group-directories-first'
- alias lle='lse -l'
- alias ls='lsd --group-dirs=first'
- alias ll='lsd --blocks=permission,links,user,group,size,date,name --group-dirs=first --date="+%d %b %H:%M"'
- alias la='ll -a'
- alias grep='grep --color=auto'
- alias fgrep='fgrep --color=auto'
- alias egrep='egrep --color=auto'
- alias ifconfig=/sbin/ifconfig
- alias cp="cp -i"
- alias mv='mv -i'
- alias rm='rm -i'
- alias tobash="sudo chsh $USER -s /usr/bin/env bash && echo 'Now log out.'"
- alias tozsh="sudo chsh $USER -s /usr/bin/env zsh && echo 'Now log out.'"
- alias tofish="sudo chsh $USER -s /usr/bin/env fish && echo 'Now log out.'"
- alias ..='cd ..'
- alias ...='cd ../..'
- alias .3='cd ../../..'
- alias .4='cd ../../../..'
- alias .5='cd ../../../../..'
- alias psmem='ps auxf | sort -nr -k 4'
- alias psmem10='ps auxf | sort -nr -k 4 | head -10'
- alias pscpu='ps auxf | sort -nr -k 3'
- alias pscpu10='ps auxf | sort -nr -k 3 | head -10'
- alias config='/usr/bin/git --git-dir=$HOME/.dotfiles.git --work-tree=$HOME'
- alias v='vim'
- alias f='ranger'
- alias vf='vifm'
- alias emacs="emacsclient -c -a 'emacs'"
- [[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
- source $ZSH/oh-my-zsh.sh
- source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh
- source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
- [ -f ~/.fzf.bash ] && source ~/.fzf.bash
- neofetch
|