mirror of
https://github.com/m-housh/dotfiles.git
synced 2026-02-14 06:12:34 +00:00
Adds starship configuration
This commit is contained in:
@@ -98,3 +98,5 @@ export PASSWORD_STORE_ENABLE_EXTENSIONS=true
|
||||
export GPG_TUI_CONFIG="$XDG_CONFIG_HOME/gpg-tui/gpg-tui.toml"
|
||||
export GPG_TTY=$(tty)
|
||||
|
||||
# Starship Prompt
|
||||
export STARSHIP_CONFIG="$XDG_CONFIG_HOME/starship/starship.toml"
|
||||
|
||||
@@ -139,9 +139,10 @@ autoload bashcompinit && bashcompinit
|
||||
|
||||
#------------------------------ prompt ------------------------------
|
||||
|
||||
# Prompt / managed by brew. (`brew install pure`)
|
||||
# Prompt / managed by brew. (`brew install starship`)
|
||||
autoload -Uz promptinit; promptinit
|
||||
prompt pure
|
||||
eval "$(starship init zsh)"
|
||||
#prompt pure
|
||||
|
||||
#------------------------------ aliases ------------------------------
|
||||
|
||||
@@ -167,10 +168,11 @@ alias hnc='hugo new content' # generate new hugo site content quickly
|
||||
alias j='just' # run justfile's quickly.
|
||||
alias l='ls -lahH --color=auto' # better ls command.
|
||||
alias lfs='ls -lahH --color=auto "$ZDOTDIR/functions"' # List functions.
|
||||
alias p='pass' # run the pass command quickly.
|
||||
alias pass='gopass'
|
||||
alias p='gopass' # run the pass command quickly.
|
||||
alias pf='pass fzf' # fuzzy find a password quickly and copy selection to clipboard.
|
||||
alias pg='pass get' # get an attribute of a password file quickly.
|
||||
alias pgc='pass get --clip' # get an attribute of a password file and copy to the clipboard.
|
||||
alias pg='gopass show' # get an attribute of a password file quickly.
|
||||
alias pgc='gopass show --clip' # get an attribute of a password file and copy to the clipboard.
|
||||
alias reload='exec zsh -l' # reload the shell, useful when making changes.
|
||||
alias t='tmux' # access tmux quickly
|
||||
alias tka='tmux kill-server' # kill tmux server and all sessions.
|
||||
|
||||
Reference in New Issue
Block a user