diff --git a/emacs/readme.md b/emacs/readme.md index 36c52f6..b5b1184 100644 --- a/emacs/readme.md +++ b/emacs/readme.md @@ -1,5 +1,5 @@ ## Usage ``` -mv dotemacs ~/.emacs +cp dotemacs ~/.emacs ``` diff --git a/git/readme.md b/git/readme.md index 4802f5b..5f99c3a 100644 --- a/git/readme.md +++ b/git/readme.md @@ -1,5 +1,5 @@ ## Usage ``` -mv dotgitconfig ~/.gitconfig +cp dotgitconfig ~/.gitconfig ``` diff --git a/starship/readme.md b/starship/readme.md new file mode 100644 index 0000000..2ba3f72 --- /dev/null +++ b/starship/readme.md @@ -0,0 +1,5 @@ +## Usage + +``` +cp starship.toml ~/.config/ +``` diff --git a/starship/starship.toml b/starship/starship.toml new file mode 100644 index 0000000..17154e5 --- /dev/null +++ b/starship/starship.toml @@ -0,0 +1,55 @@ +# 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 + +format = """ +$username\ +$hostname\ +$directory\ +${custom.dcontrol}\ +$all +""" + +# 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' +error_symbol = '[\$](bold red)' + +[cmd_duration] +disabled = true + +[custom.dcontrol] +format='[\[$symbol $output\]]($style) ' +command = "echo $DOCKER_HOST" +symbol=' ' +style="bold red" +when = '[ "$DOCKER_HOST" != "" ]' + +[directory] +truncation_length = 0 +format = '[$path]($style)[$read_only]($read_only_style)\] ' + +[git_branch] +format = '[\[$symbol $branch\]]($style) ' +symbol = ' ' + +[golang] +format = '[$symbol]($style)' + +[hostname] +format = '[@$hostname$ssh_symbol:]($style)' +style = 'yellow' +ssh_only = false + +[package] +disabled = true + +[ruby] +format = '[$symbol]($style)' + +[username] +format = '\[[$user]($style)' +style_user = 'yellow' +show_always = true