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"
|
# alias ohmyzsh="mate ~/.oh-my-zsh"
|
||||||
|
|
||||||
# Newlines after commands
|
# Newlines after commands
|
||||||
precmd() {
|
precmd() {
|
||||||
if [[ -z "$PROMPT_NEWLINE" ]];
|
if [[ -z "$PROMPT_NEWLINE" ]];
|
||||||
then
|
then
|
||||||
export PROMPT_NEWLINE=1
|
export PROMPT_NEWLINE=1
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
print ""
|
print ""
|
||||||
}
|
}
|
||||||
|
|
||||||
# SSH Agent
|
# SSH Agent
|
||||||
@@ -122,7 +122,7 @@ ssa() {
|
|||||||
done
|
done
|
||||||
|
|
||||||
if [[ $ssa_pid ]]; then kill $ssa_pid; fi
|
if [[ $ssa_pid ]]; then kill $ssa_pid; fi
|
||||||
|
|
||||||
echo -n "$fg[green]"
|
echo -n "$fg[green]"
|
||||||
eval $(ssh-agent -s)
|
eval $(ssh-agent -s)
|
||||||
ssh-add ~/.ssh/id_ed25519
|
ssh-add ~/.ssh/id_ed25519
|
||||||
@@ -136,7 +136,6 @@ reload() {
|
|||||||
# aliases
|
# aliases
|
||||||
alias sscat="cat $HOME/.ssh/id_ed25519.pub"
|
alias sscat="cat $HOME/.ssh/id_ed25519.pub"
|
||||||
alias gtree="git log --graph --oneline --all"
|
alias gtree="git log --graph --oneline --all"
|
||||||
alias plsr="pulsar ."
|
|
||||||
alias serve="python3 -m http.server"
|
alias serve="python3 -m http.server"
|
||||||
alias gram="gram ."
|
alias gram="gram ."
|
||||||
alias tt="timetrace"
|
alias tt="timetrace"
|
||||||
|
|||||||
@@ -1,7 +1,12 @@
|
|||||||
# Setup repo
|
# Setup repo
|
||||||
|
|
||||||
- set up [Oh My Zsh](https://ohmyz.sh/)
|
- set up [Oh My Zsh](https://ohmyz.sh/)
|
||||||
|
- [`sudo apt install fonts-powerline`](https://github.com/powerline/fonts)
|
||||||
- `.zshrc` goes in `$HOME`
|
- `.zshrc` goes in `$HOME`
|
||||||
- `.flag-motd.sh` goes in `$HOME`
|
- `.flag-motd.sh` goes in `$HOME`
|
||||||
- `agnoster.zsh-theme` goes in `.oh-my-zsh/custom/themes/`
|
- `agnoster.zsh-theme` goes in `.oh-my-zsh/custom/themes/`
|
||||||
|
- Terminal color scheme is in Atmos
|
||||||
|
- [Gram](https://gram-editor.com/docs/linux/)
|
||||||
- [timetrace](https://github.com/lee0c/timetrace) and [timetrace records](https://heckin.technology/inherentlee/timetrace)
|
- [timetrace](https://github.com/lee0c/timetrace) and [timetrace records](https://heckin.technology/inherentlee/timetrace)
|
||||||
|
- need [Go](https://go.dev/doc/install) to build
|
||||||
|
- [nvm](https://www.nvmnode.com/guide/download.html) and node
|
||||||
|
|||||||
Reference in New Issue
Block a user