Skip to content

Instantly share code, notes, and snippets.

@jkirk
Created November 19, 2022 16:19
Show Gist options
  • Save jkirk/62b1d4696d400bf658f491e2f0bd54e9 to your computer and use it in GitHub Desktop.
Save jkirk/62b1d4696d400bf658f491e2f0bd54e9 to your computer and use it in GitHub Desktop.

Minimal shell (with grml-config)

sudo apt install vim zsh tmux git
wget grml.org/scripts/grml-config.sh
sh ./grml-config.sh
chsh -s /bin/zsh

Startship

See: https://starship.rs/

wget https://starship.rs/install.sh 
sh ./install.sh

Put this in .config/starship.toml or run starship config:

[directory]
truncate_to_repo = false
truncation_length = 5
truncation_symbol = "../"

[git_commit]
only_detached = false

[time]
disabled = false
time_format = "%F %T %Z"

[username]
# The module will be shown if any of the following conditions are met:
#     The current user is root
#     The current user isn't the same as the one that is logged in
#     The user is currently connected as an SSH session
#     The variable show_always is set to true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment