split .zshrc configs and add powerlevel 10k config file
This commit is contained in:
parent
44e3b86c98
commit
57f87a2b63
|
@ -7,6 +7,10 @@ Welcome to my metaphorical bookshelf of scripts and configurations that I piece
|
|||
1. `git clone --recurse-submodules $REPO_URL ~/.dotfiles` this project.
|
||||
1. Run `./install` within `~/.dotfiles` to install the dotfiles (configured in `install.conf.yaml`).
|
||||
|
||||
## TODO
|
||||
|
||||
- [] setup installation of `rg` and FZF.
|
||||
|
||||
See also:
|
||||
|
||||
- [anishathalye/dotbot](https://github.com/anishathalye/dotbot)
|
||||
|
|
1641
configs/.p10k.zsh
Normal file
1641
configs/.p10k.zsh
Normal file
File diff suppressed because it is too large
Load diff
|
@ -100,23 +100,23 @@ source $ZSH/oh-my-zsh.sh
|
|||
# alias zshconfig="mate ~/.zshrc"
|
||||
# alias ohmyzsh="mate ~/.oh-my-zsh"
|
||||
|
||||
# Common aliases
|
||||
alias dco=docker-compose
|
||||
alias hb='hub browse'
|
||||
alias cat="batcat"
|
||||
alias vim="nvim"
|
||||
alias o="nemo"
|
||||
alias nconf="vim ~/.zshrc"
|
||||
alias nupdate="source ~/.zshrc"
|
||||
|
||||
# TV2 stuff
|
||||
TV2_CRED='~/Workspace-netlife/tv2/tv2.sh'
|
||||
alias utv="xdg-open https://tv2norge.awsapps.com/start#/ & nvim $TV2_CRED"
|
||||
alias stv="source $TV2_CRED"
|
||||
|
||||
#export $XDG_CONFIG_HOME="/home/nilsnh/.dotfiles/"
|
||||
|
||||
export NVM_DIR="$HOME/.nvm"
|
||||
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
|
||||
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
|
||||
|
||||
|
||||
alias awsconf='vim ~/.aws/config'
|
||||
alias awscred='vim ~/.aws/credentials'
|
||||
export AWS_PROFILE=stage-lo
|
||||
export AWS_SDK_LOAD_CONFIG=1
|
||||
|
||||
# add Pulumi to the PATH
|
||||
export PATH=$PATH:$HOME/.pulumi/bin
|
21
zsh/.zshrc_macos
Normal file
21
zsh/.zshrc_macos
Normal file
|
@ -0,0 +1,21 @@
|
|||
# MacOS specific ZSH configurations
|
||||
|
||||
alias flushdns='sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder'
|
||||
alias isodate='date -u +%Y-%m-%d'
|
||||
alias gitlg='git log --all --graph --decorate --oneline'
|
||||
|
||||
function npmopen () {
|
||||
FULL_URL="https://www.npmjs.com/package/$1"
|
||||
echo "Opening url $FULL_URL"
|
||||
open $FULL_URL
|
||||
}
|
||||
|
||||
# MacOS optimization, only load NVM if need be.
|
||||
loadnvm () {
|
||||
export NVM_DIR="$HOME/.nvm"
|
||||
. "/usr/local/opt/nvm/nvm.sh"
|
||||
}
|
||||
# add default node version
|
||||
export PATH="/Users/nilsnh/.nvm/versions/node/v16.16.0/bin:$PATH"
|
||||
|
||||
test -e "${HOME}/.iterm2_shell_integration.zsh" && source "${HOME}/.iterm2_shell_integration.zsh"
|
Loading…
Reference in a new issue