add starship promt
This commit is contained in:
parent
5ae7ddea38
commit
23dc5489a1
5 changed files with 166 additions and 26 deletions
149
config/starship.toml
Normal file
149
config/starship.toml
Normal file
|
|
@ -0,0 +1,149 @@
|
||||||
|
# Get editor completions based on the config schema
|
||||||
|
"$schema" = 'https://starship.rs/config-schema.json'
|
||||||
|
|
||||||
|
# Inserts a blank line between shell prompts
|
||||||
|
add_newline = true
|
||||||
|
|
||||||
|
# Replace the '❯' symbol in the prompt with '➜'
|
||||||
|
[character] # The name of the module we are configuring is 'character'
|
||||||
|
success_symbol = '[➜](bold green)' # The 'success_symbol' segment is being set to '➜' with the color 'bold green'
|
||||||
|
|
||||||
|
[aws]
|
||||||
|
symbol = " "
|
||||||
|
|
||||||
|
[buf]
|
||||||
|
symbol = " "
|
||||||
|
|
||||||
|
[c]
|
||||||
|
symbol = " "
|
||||||
|
|
||||||
|
[conda]
|
||||||
|
symbol = " "
|
||||||
|
|
||||||
|
[dart]
|
||||||
|
symbol = " "
|
||||||
|
|
||||||
|
[directory]
|
||||||
|
read_only = " "
|
||||||
|
|
||||||
|
[docker_context]
|
||||||
|
symbol = " "
|
||||||
|
|
||||||
|
[elixir]
|
||||||
|
symbol = " "
|
||||||
|
|
||||||
|
[elm]
|
||||||
|
symbol = " "
|
||||||
|
|
||||||
|
[fossil_branch]
|
||||||
|
symbol = " "
|
||||||
|
|
||||||
|
[git_branch]
|
||||||
|
symbol = " "
|
||||||
|
|
||||||
|
[golang]
|
||||||
|
symbol = " "
|
||||||
|
|
||||||
|
[guix_shell]
|
||||||
|
symbol = " "
|
||||||
|
|
||||||
|
[haskell]
|
||||||
|
symbol = " "
|
||||||
|
|
||||||
|
[haxe]
|
||||||
|
symbol = "⌘ "
|
||||||
|
|
||||||
|
[hg_branch]
|
||||||
|
symbol = " "
|
||||||
|
|
||||||
|
[hostname]
|
||||||
|
ssh_symbol = " "
|
||||||
|
|
||||||
|
[java]
|
||||||
|
symbol = " "
|
||||||
|
|
||||||
|
[julia]
|
||||||
|
symbol = " "
|
||||||
|
|
||||||
|
[lua]
|
||||||
|
symbol = " "
|
||||||
|
|
||||||
|
[memory_usage]
|
||||||
|
symbol = " "
|
||||||
|
|
||||||
|
[meson]
|
||||||
|
symbol = "喝 "
|
||||||
|
|
||||||
|
[nim]
|
||||||
|
symbol = " "
|
||||||
|
|
||||||
|
[nix_shell]
|
||||||
|
symbol = " "
|
||||||
|
|
||||||
|
[nodejs]
|
||||||
|
symbol = " "
|
||||||
|
|
||||||
|
[os.symbols]
|
||||||
|
Alpaquita = " "
|
||||||
|
Alpine = " "
|
||||||
|
Amazon = " "
|
||||||
|
Android = " "
|
||||||
|
Arch = " "
|
||||||
|
Artix = " "
|
||||||
|
CentOS = " "
|
||||||
|
Debian = " "
|
||||||
|
DragonFly = " "
|
||||||
|
Emscripten = " "
|
||||||
|
EndeavourOS = " "
|
||||||
|
Fedora = " "
|
||||||
|
FreeBSD = " "
|
||||||
|
Garuda = " "
|
||||||
|
Gentoo = " "
|
||||||
|
HardenedBSD = "ﲊ "
|
||||||
|
Illumos = " "
|
||||||
|
Linux = " "
|
||||||
|
Mabox = " "
|
||||||
|
Macos = " "
|
||||||
|
Manjaro = " "
|
||||||
|
Mariner = " "
|
||||||
|
MidnightBSD = " "
|
||||||
|
Mint = " "
|
||||||
|
NetBSD = " "
|
||||||
|
NixOS = " "
|
||||||
|
OpenBSD = " "
|
||||||
|
openSUSE = " "
|
||||||
|
OracleLinux = " "
|
||||||
|
Pop = " "
|
||||||
|
Raspbian = " "
|
||||||
|
Redhat = " "
|
||||||
|
RedHatEnterprise = " "
|
||||||
|
Redox = " "
|
||||||
|
Solus = "ﴱ "
|
||||||
|
SUSE = " "
|
||||||
|
Ubuntu = " "
|
||||||
|
Unknown = " "
|
||||||
|
Windows = " "
|
||||||
|
|
||||||
|
[package]
|
||||||
|
symbol = " "
|
||||||
|
|
||||||
|
[pijul_channel]
|
||||||
|
symbol = "🪺 "
|
||||||
|
|
||||||
|
[python]
|
||||||
|
symbol = " "
|
||||||
|
|
||||||
|
[rlang]
|
||||||
|
symbol = "ﳒ "
|
||||||
|
|
||||||
|
[ruby]
|
||||||
|
symbol = " "
|
||||||
|
|
||||||
|
[rust]
|
||||||
|
symbol = " "
|
||||||
|
|
||||||
|
[scala]
|
||||||
|
symbol = " "
|
||||||
|
|
||||||
|
[spack]
|
||||||
|
symbol = "🅢 "
|
||||||
|
|
@ -5,32 +5,23 @@
|
||||||
#fix obvious typo's
|
#fix obvious typo's
|
||||||
alias pdw="pwd"
|
alias pdw="pwd"
|
||||||
|
|
||||||
#search content with ripgrep
|
# File Managment
|
||||||
alias rg="rg --sort path"
|
|
||||||
|
|
||||||
# move stuff arround
|
|
||||||
alias \
|
alias \
|
||||||
cp='cp -iv' \
|
cp='cp -iv' \
|
||||||
mv='mv -iv' \
|
mv='mv -iv' \
|
||||||
cpr='rsync -za --partial -hh --info=progress2' \
|
cpr='rsync -za --partial -hh --info=progress2' \
|
||||||
mvr='rsync -za --remove-source-files --partial -hh --info=progress2' \
|
mvr='rsync -za --remove-source-files --partial -hh --info=progress2' \
|
||||||
sync='rsync -zau --delete --partial -hh --info=progress2' \
|
sync='rsync -zau --delete --partial -hh --info=progress2' \
|
||||||
md='mkdir -pv';
|
|
||||||
|
|
||||||
# delete stuff
|
|
||||||
alias \
|
|
||||||
rm='trash -i' \
|
rm='trash -i' \
|
||||||
rmf='rm -rfI'
|
rmf='rm -rfI' \
|
||||||
|
md='mkdir -pv' \
|
||||||
# short long and common commands
|
|
||||||
alias \
|
|
||||||
mkexec='chmod +x';
|
|
||||||
|
|
||||||
# Exa for listing
|
|
||||||
alias \
|
|
||||||
ls='exa -lh --color=always --icons --git ' \
|
ls='exa -lh --color=always --icons --git ' \
|
||||||
la='exa -alh --color=always --icons --git ' \
|
la='exa -alh --color=always --icons --git ' \
|
||||||
ld='exa -la --no-permissions --no-filesize --no-time --no-time --no-user'
|
ld='exa -la --no-permissions --no-filesize --no-time --no-time --no-user' \
|
||||||
|
mkexec='chmod +x';
|
||||||
|
|
||||||
|
# Search and Query Files
|
||||||
|
alias grep="rg --sort path --context 3";
|
||||||
|
|
||||||
# Pacman
|
# Pacman
|
||||||
alias \
|
alias \
|
||||||
|
|
@ -41,9 +32,6 @@ alias \
|
||||||
pkglast="expac --timefmt='%Y-%m-%d %T' '%l\t%n %v' | sort | tail -25 | nl"
|
pkglast="expac --timefmt='%Y-%m-%d %T' '%l\t%n %v' | sort | tail -25 | nl"
|
||||||
|
|
||||||
|
|
||||||
alias \
|
|
||||||
reload='exec $SHELL -l' \
|
|
||||||
|
|
||||||
# Query Stuff
|
# Query Stuff
|
||||||
alias \
|
alias \
|
||||||
ip='ip -human -color -brief addr' \
|
ip='ip -human -color -brief addr' \
|
||||||
|
|
@ -63,6 +51,10 @@ alias \
|
||||||
music-ninten='mpv "$nintendo_url" &>/dev/null &!' \
|
music-ninten='mpv "$nintendo_url" &>/dev/null &!' \
|
||||||
music-ninten-bg='ts lofi -d "mpv --no-video $nintendo_url"'
|
music-ninten-bg='ts lofi -d "mpv --no-video $nintendo_url"'
|
||||||
|
|
||||||
|
# Misc
|
||||||
|
alias \
|
||||||
|
reload='exec $SHELL -l' \
|
||||||
|
|
||||||
#--------------------------------------------------------------------#
|
#--------------------------------------------------------------------#
|
||||||
# Global #
|
# Global #
|
||||||
#--------------------------------------------------------------------#
|
#--------------------------------------------------------------------#
|
||||||
|
|
|
||||||
|
|
@ -63,13 +63,8 @@ plugins=(
|
||||||
fd
|
fd
|
||||||
fzf
|
fzf
|
||||||
git
|
git
|
||||||
git-prompt
|
|
||||||
ripgrep
|
|
||||||
safe-paste # don't run code when pasting
|
safe-paste # don't run code when pasting
|
||||||
systemd
|
systemd
|
||||||
# tmux
|
|
||||||
# vi-mode
|
|
||||||
yarn
|
|
||||||
z
|
z
|
||||||
zsh-autocomplete
|
zsh-autocomplete
|
||||||
zsh-autopair
|
zsh-autopair
|
||||||
|
|
@ -119,3 +114,5 @@ fi
|
||||||
|
|
||||||
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
|
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
|
||||||
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
|
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
|
||||||
|
|
||||||
|
eval "$(starship init zsh)"
|
||||||
|
|
|
||||||
|
|
@ -1 +1,2 @@
|
||||||
atim/lazygit
|
atim/lazygit
|
||||||
|
atim/starship
|
||||||
|
|
|
||||||
|
|
@ -13,6 +13,7 @@ nodejs
|
||||||
remove-retired-packages
|
remove-retired-packages
|
||||||
ripgrep
|
ripgrep
|
||||||
sd
|
sd
|
||||||
|
starship
|
||||||
tealdeer
|
tealdeer
|
||||||
tmux
|
tmux
|
||||||
tree-sitter-cli
|
tree-sitter-cli
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue