update
This commit is contained in:
6
.zshrc
6
.zshrc
@@ -70,7 +70,7 @@ ZSH_THEME="robbyrussell"
|
|||||||
# Custom plugins may be added to $ZSH_CUSTOM/plugins/
|
# Custom plugins may be added to $ZSH_CUSTOM/plugins/
|
||||||
# Example format: plugins=(rails git textmate ruby lighthouse)
|
# Example format: plugins=(rails git textmate ruby lighthouse)
|
||||||
# Add wisely, as too many plugins slow down shell startup.
|
# Add wisely, as too many plugins slow down shell startup.
|
||||||
plugins=(git)
|
plugins=(git sudo systemadmin)
|
||||||
|
|
||||||
source $ZSH/oh-my-zsh.sh
|
source $ZSH/oh-my-zsh.sh
|
||||||
|
|
||||||
@@ -99,6 +99,8 @@ source $ZSH/oh-my-zsh.sh
|
|||||||
# Example aliases
|
# Example aliases
|
||||||
# alias zshconfig="mate ~/.zshrc"
|
# alias zshconfig="mate ~/.zshrc"
|
||||||
# alias ohmyzsh="mate ~/.oh-my-zsh"
|
# alias ohmyzsh="mate ~/.oh-my-zsh"
|
||||||
|
export EDITOR=nano
|
||||||
|
export VISUAL=nano
|
||||||
|
|
||||||
|
|
||||||
eval "$(oh-my-posh init zsh --config ~/theme.omp.json)"
|
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 stuff
|
||||||
alias hcurl='curl --doh-url https://hnsdoh.com/dns-query'
|
alias hcurl='curl --doh-url https://hnsdoh.com/dns-query'
|
||||||
|
alias ls='exa'
|
||||||
|
alias ll='exa --long --group --header --icons --classify'
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -43,6 +43,13 @@
|
|||||||
"style": "plain",
|
"style": "plain",
|
||||||
"foreground": "white",
|
"foreground": "white",
|
||||||
"template": "<{{ if .Root }}lightBlue{{ else }}green{{ end }}>-[</>{{ .HEAD }}<{{ if .Root }}lightBlue{{ else }}green{{ end }}>]</>"
|
"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
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user