30 lines
657 B
Bash
30 lines
657 B
Bash
# Paths
|
|
export ZSH="$HOME/.oh-my-zsh"
|
|
export PATH="$PATH:$HOME/.go/bin:$HOME/.local/bin:$HOME/.cargo/bin:$HOME/.dotnet/tools"
|
|
export DOTNET_CLI_TELEMETRY_OPTOUT=1
|
|
export SecList=$HOME/Local/PenTesting/SecLists/
|
|
|
|
|
|
# Alias
|
|
alias q="exit"
|
|
alias ranger='ranger --choosedir=$HOME/.rangerdir; LASTDIR=`cat $HOME/.rangerdir`; cd "$LASTDIR"'
|
|
alias xsel='xsel -ib'
|
|
alias msfconsole="msfconsole -x \"db_connect metasploit@msf\""
|
|
|
|
# Theme
|
|
ZSH_THEME="agnoster"
|
|
|
|
# Plugins
|
|
plugins=(
|
|
git
|
|
history
|
|
)
|
|
|
|
randpw() { < /dev/urandom tr -dc _A-Z-a-z-0-9 | head -c${1:-$1};echo;};
|
|
|
|
# History
|
|
HISTORY_IGNORE='sudo veracrypt *|veracrypt *'
|
|
|
|
# Source
|
|
source $ZSH/oh-my-zsh.sh
|