Performance update
This commit is contained in:
parent
cd814408d1
commit
82353196d6
@ -1,5 +1,7 @@
|
||||
LP_ENABLE_GIT=0
|
||||
LP_ENABLE_TIME=1
|
||||
LP_ENABLE_TIME=0
|
||||
LP_ENABLE_OHMYGIT=1
|
||||
LP_HOSTNAME_ALWAYS=0
|
||||
LP_ENABLE_BATT=1
|
||||
LP_ENABLE_SSH_COLORS=1
|
||||
LP_USER_ALWAYS=0
|
||||
|
49
shells/zshrc
49
shells/zshrc
@ -1,7 +1,8 @@
|
||||
echo -ne '[ ]\r'
|
||||
for config (~/.zsh/*.zsh) source $config
|
||||
ZSH_THEME="af-magic"
|
||||
source "$HOME/.antigen/antigen.zsh"
|
||||
#zmodload zsh/zprof
|
||||
#for config (~/.zsh/*.zsh) source $config
|
||||
source ~/.zsh/*.zsh
|
||||
autoload -U compinit
|
||||
compinit
|
||||
setopt INTERACTIVECOMMENTS
|
||||
setopt EXTENDED_GLOB
|
||||
setopt HIST_EXPIRE_DUPS_FIRST
|
||||
@ -39,7 +40,7 @@ sv () {
|
||||
shift
|
||||
done
|
||||
}
|
||||
compdef _services sv
|
||||
#compdef _services sv
|
||||
# Run gui application as root by copying xauth credentials
|
||||
asroot(){
|
||||
# Use temporary file for added security
|
||||
@ -181,7 +182,7 @@ fixsh(){
|
||||
}
|
||||
mv() { /bin/mv -v "$@" }
|
||||
m() { mv "$@" }
|
||||
compdef _cp c cfat m mv cp
|
||||
#compdef _cp c cfat m mv cp
|
||||
paste() {
|
||||
NAME="-d title=Command run at $(date '+%d/%h/%y %H:%M:%S') on $(hostname)"
|
||||
if [[ ! -z "$1" ]]; then
|
||||
@ -271,14 +272,14 @@ tsh(){
|
||||
echo "\n\n\n\n\n\n\n\n\n\nSESSION CLOSED\n\n\n\n\n\n\n\n\n\n"
|
||||
fi
|
||||
}
|
||||
compdefas () {
|
||||
local a
|
||||
a="$1"
|
||||
shift
|
||||
compdef "$_comps[$a]" "${(@)*}=$a"
|
||||
}
|
||||
compdefas ssh tsh
|
||||
compdefas mv m mv
|
||||
#compdefas () {
|
||||
# local a
|
||||
# a="$1"
|
||||
# shift
|
||||
# #compdef "$_comps[$a]" "${(@)*}=$a"
|
||||
#}
|
||||
#compdefas ssh tsh
|
||||
#compdefas mv m mv
|
||||
mcl(){
|
||||
mkdir -p $1
|
||||
cd $1
|
||||
@ -435,18 +436,6 @@ k(){
|
||||
}
|
||||
# To resize,
|
||||
# :%S/\[([# ]{9})\]/[\1 ]
|
||||
echo -ne '[# ]\r'
|
||||
antigen bundle https://austenwares.com/gogs/stonewareslord/omg
|
||||
echo -ne '[## ]\r'
|
||||
antigen theme https://austenwares.com/gogs/stonewareslord/oh-my-git-themes af-magic
|
||||
echo -ne '[### ]\r'
|
||||
antigen bundle https://austenwares.com/gogs/stonewareslord/lpr
|
||||
echo -ne '[#### ]\r'
|
||||
antigen bundle zsh-users/zsh-syntax-highlighting
|
||||
echo -ne '[##### ]\r'
|
||||
antigen apply
|
||||
echo -ne '[######]\r'
|
||||
echo
|
||||
|
||||
# OPAM configuration
|
||||
. /home/stonewareslord/.opam/opam-init/init.zsh > /dev/null 2> /dev/null || true
|
||||
@ -489,6 +478,8 @@ echo
|
||||
#alias aoeu='setxkbmap -layout us -option "'
|
||||
#alias asdf='setxkbmap -layout dvorak -option ""'
|
||||
#alias sudo='sudo -H'
|
||||
#smon(){
|
||||
# timeout 1s pdsh -R ssh -w 10.0.1.196,10.0.1.207 "$@"
|
||||
#}
|
||||
source ~/zsh/lpr/liquidprompt
|
||||
source ~/zsh/omg/base.sh
|
||||
source ~/zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
|
||||
source ~/zsh/oh-my-git-themes/af-magic.zsh-theme
|
||||
#zprof
|
||||
|
Loading…
Reference in New Issue
Block a user