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