some updates based on this setup
This commit is contained in:
@@ -105,13 +105,13 @@ source $ZSH/oh-my-zsh.sh
|
||||
# alias ohmyzsh="mate ~/.oh-my-zsh"
|
||||
|
||||
# Newlines after commands
|
||||
precmd() {
|
||||
precmd() {
|
||||
if [[ -z "$PROMPT_NEWLINE" ]];
|
||||
then
|
||||
export PROMPT_NEWLINE=1
|
||||
return
|
||||
fi
|
||||
print ""
|
||||
fi
|
||||
print ""
|
||||
}
|
||||
|
||||
# SSH Agent
|
||||
@@ -122,7 +122,7 @@ ssa() {
|
||||
done
|
||||
|
||||
if [[ $ssa_pid ]]; then kill $ssa_pid; fi
|
||||
|
||||
|
||||
echo -n "$fg[green]"
|
||||
eval $(ssh-agent -s)
|
||||
ssh-add ~/.ssh/id_ed25519
|
||||
@@ -136,7 +136,6 @@ reload() {
|
||||
# aliases
|
||||
alias sscat="cat $HOME/.ssh/id_ed25519.pub"
|
||||
alias gtree="git log --graph --oneline --all"
|
||||
alias plsr="pulsar ."
|
||||
alias serve="python3 -m http.server"
|
||||
alias gram="gram ."
|
||||
alias tt="timetrace"
|
||||
|
||||
Reference in New Issue
Block a user