From bfe6dcb10a0bcb58833184fcfcda2d9cdeb9eb30 Mon Sep 17 00:00:00 2001 From: Nathan Woodburn Date: Wed, 3 Apr 2024 23:38:05 +1100 Subject: [PATCH] update --- .zshrc | 6 +++++- README.md | 2 ++ theme.omp.json | 7 +++++++ 3 files changed, 14 insertions(+), 1 deletion(-) diff --git a/.zshrc b/.zshrc index 83e4edc..af39f1a 100644 --- a/.zshrc +++ b/.zshrc @@ -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' diff --git a/README.md b/README.md index 96bf7ed..32b8289 100644 --- a/README.md +++ b/README.md @@ -1 +1,3 @@ # dotfiles + +This uses the stow system by gnu diff --git a/theme.omp.json b/theme.omp.json index bba93e8..23a6ab0 100644 --- a/theme.omp.json +++ b/theme.omp.json @@ -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 } ] },