dotfiles/zsh/.zshrc

39 lines
930 B
Bash
Raw Normal View History

2019-03-11 23:59:49 +01:00
# Paths
export ZSH="$HOME/.oh-my-zsh"
2020-01-26 00:08:10 +01:00
export PATH="$PATH:$HOME/.go/bin:$HOME/.local/bin:$HOME/.cargo/bin:$HOME/.dotnet/tools"
2019-12-04 01:32:36 +01:00
export DOTNET_CLI_TELEMETRY_OPTOUT=1
export PenTestTools=$HOME/Local/PenTesting/
export CTF=$HOME/Documents/CTF/
export WORKSPACE=$HOME/workspace_l
export ZSHRC="$HOME/.zshrc"
export VISUAL="emacsclient -t"
# Alias
alias q="exit"
2020-05-13 05:44:16 +02:00
alias b="byobu"
alias ranger='ranger --choosedir=$HOME/.rangerdir; LASTDIR=`cat $HOME/.rangerdir`; cd "$LASTDIR"'
2019-03-11 23:59:49 +01:00
alias xsel='xsel -ib'
alias msfconsole="msfconsole -x \"db_connect metasploit@msf\""
alias nmap="nmap -T5 --min-parallelism 100 -Pn"
alias ed="\emacs --daemon"
alias e="emacsclient -t"
2019-03-11 23:59:49 +01:00
# Theme
ZSH_THEME="agnoster"
2019-03-11 23:59:49 +01:00
# Plugins
plugins=(
git
history
)
2018-10-05 21:21:11 +02:00
randpw() { < /dev/urandom tr -dc _A-Z-a-z-0-9 | head -c${1:-$1};echo;};
2019-03-30 04:56:38 +01:00
# History
HISTORY_IGNORE='sudo veracrypt *|veracrypt *'
HISTSIZE=10000000
SAVEHIST=10000000
2019-03-30 04:56:38 +01:00
2019-03-11 23:59:49 +01:00
# Source
source $ZSH/oh-my-zsh.sh