...
This commit is contained in:
@@ -11,4 +11,5 @@ if [ "$PS1" ]; then
|
|||||||
alias grep="grep --color=auto"
|
alias grep="grep --color=auto"
|
||||||
alias ls="ls --color=auto"
|
alias ls="ls --color=auto"
|
||||||
alias ll="ls -la"
|
alias ll="ls -la"
|
||||||
|
alias code="code --ozone-platform=wayland"
|
||||||
fi
|
fi
|
||||||
1
.config/code-flags.conf
Normal file
1
.config/code-flags.conf
Normal file
@@ -0,0 +1 @@
|
|||||||
|
--ozone-platform=wayland
|
||||||
@@ -1,73 +0,0 @@
|
|||||||
add_newline = false
|
|
||||||
command_timeout = 1000
|
|
||||||
format = """[╭╴](238) $os$username$hostname$kubernetes$directory$git_branch$git_status\n[╰─](238)[](238) """
|
|
||||||
|
|
||||||
# Drop ugly default prompt characters
|
|
||||||
[character]
|
|
||||||
success_symbol = ''
|
|
||||||
error_symbol = ''
|
|
||||||
|
|
||||||
[os]
|
|
||||||
format = '[$symbol](bold white) '
|
|
||||||
disabled = false
|
|
||||||
|
|
||||||
[os.symbols]
|
|
||||||
Windows = ''
|
|
||||||
Arch = ''
|
|
||||||
Ubuntu = ''
|
|
||||||
Debian = ''
|
|
||||||
Macos = ''
|
|
||||||
Linux = ''
|
|
||||||
Pop = " "
|
|
||||||
|
|
||||||
# Shows the username
|
|
||||||
[username]
|
|
||||||
style_user = 'white bold'
|
|
||||||
style_root = 'red bold'
|
|
||||||
format = '[$user]($style) '
|
|
||||||
disabled = false
|
|
||||||
show_always = true
|
|
||||||
|
|
||||||
# Shows the hostname
|
|
||||||
[hostname]
|
|
||||||
ssh_only = false
|
|
||||||
format = 'on [$hostname](bold yellow) '
|
|
||||||
disabled = false
|
|
||||||
|
|
||||||
# Shows current directory
|
|
||||||
[directory]
|
|
||||||
truncation_length = 1
|
|
||||||
truncation_symbol = '…/'
|
|
||||||
home_symbol = ' ~'
|
|
||||||
read_only_style = '197'
|
|
||||||
read_only = ' '
|
|
||||||
format = 'at [$path]($style)[$read_only]($read_only_style) '
|
|
||||||
|
|
||||||
# Shows current git branch
|
|
||||||
[git_branch]
|
|
||||||
symbol = ' '
|
|
||||||
format = 'via [$symbol$branch]($style)'
|
|
||||||
# truncation_length = 4
|
|
||||||
truncation_symbol = '…/'
|
|
||||||
style = 'bold green'
|
|
||||||
|
|
||||||
# Shows current git status
|
|
||||||
[git_status]
|
|
||||||
format = '[$all_status$ahead_behind]($style) '
|
|
||||||
style = 'bold green'
|
|
||||||
conflicted = '🏳'
|
|
||||||
up_to_date = ''
|
|
||||||
untracked = ' '
|
|
||||||
ahead = '⇡${count}'
|
|
||||||
diverged = '⇕⇡${ahead_count}⇣${behind_count}'
|
|
||||||
behind = '⇣${count}'
|
|
||||||
stashed = ' '
|
|
||||||
modified = ' '
|
|
||||||
staged = '[++\($count\)](green)'
|
|
||||||
renamed = '襁 '
|
|
||||||
deleted = ' '
|
|
||||||
|
|
||||||
# Shows kubernetes context and namespace
|
|
||||||
[kubernetes]
|
|
||||||
format = 'via [ $context\($namespace\)](bold purple) '
|
|
||||||
disabled = false
|
|
||||||
Reference in New Issue
Block a user