Last active
August 29, 2015 14:03
-
-
Save fliiiix/920db6c245be186835d4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# completion | |
autoload -U compinit | |
compinit | |
## Command history configuration | |
HISTFILE=$HOME/.zsh_history | |
HISTSIZE=10000 | |
SAVEHIST=10000 | |
setopt append_history | |
setopt extended_history | |
setopt hist_expire_dups_first | |
setopt hist_ignore_dups # ignore duplication command history list | |
setopt hist_ignore_space | |
setopt hist_verify | |
setopt inc_append_history | |
setopt share_history # share command history data | |
# prompt | |
autoload -U promptinit | |
promptinit | |
PROMPT='[%n@%m:%d]$ ' | |
#functions | |
sshcreate() { | |
ssh-keygen -b 4096 -f $1 -C hi@l33t.name && echo "your public key:" && cat $1.pub | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment