This commit is contained in:
2024-04-03 23:38:05 +11:00
parent dc0ac841d6
commit bfe6dcb10a
3 changed files with 14 additions and 1 deletions

6
.zshrc
View File

@@ -70,7 +70,7 @@ ZSH_THEME="robbyrussell"
# Custom plugins may be added to $ZSH_CUSTOM/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse)
# Add wisely, as too many plugins slow down shell startup.
plugins=(git)
plugins=(git sudo systemadmin)
source $ZSH/oh-my-zsh.sh
@@ -99,6 +99,8 @@ source $ZSH/oh-my-zsh.sh
# Example aliases
# alias zshconfig="mate ~/.zshrc"
# alias ohmyzsh="mate ~/.oh-my-zsh"
export EDITOR=nano
export VISUAL=nano
eval "$(oh-my-posh init zsh --config ~/theme.omp.json)"
@@ -127,6 +129,8 @@ export MANPAGER="sh -c 'col -bx | bat -l man -p'"
# Alias stuff
alias hcurl='curl --doh-url https://hnsdoh.com/dns-query'
alias ls='exa'
alias ll='exa --long --group --header --icons --classify'

View File

@@ -1 +1,3 @@
# dotfiles
This uses the stow system by gnu

View File

@@ -43,6 +43,13 @@
"style": "plain",
"foreground": "white",
"template": "<{{ if .Root }}lightBlue{{ else }}green{{ end }}>-[</>{{ .HEAD }}<{{ if .Root }}lightBlue{{ else }}green{{ end }}>]</>"
},
{
"type": "flutter",
"style": "plain",
"foreground": "white",
"template": "<{{ if .Root }}lightBlue{{ else }}green{{ end }}>-[</> {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}<{{ if .Root }}lightBlue{{ else }}green{{ end }}>]</>",
"cache_version": 1
}
]
},