summaryrefslogtreecommitdiff
path: root/prompt.zsh.bak
diff options
context:
space:
mode:
authorlittleblack111 <jerrylam110209@gmail.com>2023-06-29 16:29:32 +0800
committerlittleblack111 <jerrylam110209@gmail.com>2023-06-29 16:29:47 +0800
commit0f532510d2001399e3800a579d4cae0762daf0bd (patch)
tree0bb3fb21e4ea3e1e63777778afb27f2ae97b1168 /prompt.zsh.bak
parentfcc547feac5835da7582991f662f04aa4746b99c (diff)
init
Diffstat (limited to 'prompt.zsh.bak')
-rwxr-xr-xprompt.zsh.bak12
1 files changed, 12 insertions, 0 deletions
diff --git a/prompt.zsh.bak b/prompt.zsh.bak
new file mode 100755
index 0000000..5684384
--- /dev/null
+++ b/prompt.zsh.bak
@@ -0,0 +1,12 @@
+##
+## Prompt
+##
+
+# Load starship
+zinit ice as'command' from'gh-r' \
+ atload'export STARSHIP_CONFIG=$XDG_CONFIG_HOME/starship/starship.toml; eval $(starship init zsh)' \
+ atclone'./starship init zsh > init.zsh; ./starship completions zsh > _starship' \
+ atpull'%atclone' src'init.zsh'
+zinit light starship/starship
+
+# vim:ft=zsh