Usability improvements
- Starship removed unused modules from prompt - Added aliases
This commit is contained in:
@@ -7,7 +7,11 @@ set -xU MANROFFOPT -c
|
||||
set -x SHELL /usr/bin/fish
|
||||
set -x GOPATH $HOME/.local/share/go
|
||||
set -x GOBIN $GOPATH/bin
|
||||
set PATH $GOBIN $PATH
|
||||
|
||||
## Add custom paths on shell PATH
|
||||
for p in $GOBIN
|
||||
set PATH $p $PATH
|
||||
end
|
||||
|
||||
## Export variable need for qt-theme
|
||||
if type qtile >>/dev/null 2>&1
|
||||
@@ -144,6 +148,9 @@ alias cat 'bat --style header --style snip --style changes --style header'
|
||||
# Replace df command tool
|
||||
alias df='duf'
|
||||
|
||||
# Safety rm command
|
||||
alias rm 'trash -v'
|
||||
|
||||
# Common use
|
||||
alias .. 'cd ..'
|
||||
alias ... 'cd ../..'
|
||||
@@ -163,3 +170,5 @@ alias untar 'tar -zxvf '
|
||||
alias vdir 'vdir --color=auto'
|
||||
alias wget 'wget -c '
|
||||
alias stow 'stow --dotfiles -d ~/.dotfiles '
|
||||
alias openport 'netstat -nape --inet'
|
||||
alias kssh 'kitty +kitten ssh'
|
||||
|
||||
@@ -1,29 +1,18 @@
|
||||
format = """
|
||||
$username\
|
||||
$directory\
|
||||
$vcsh\
|
||||
$fossil_branch\
|
||||
$fossil_metrics\
|
||||
$git_branch\
|
||||
$git_commit\
|
||||
$git_state\
|
||||
$git_metrics\
|
||||
$git_status\
|
||||
$hg_branch\
|
||||
$pijul_channel\
|
||||
$package\
|
||||
$bun\
|
||||
$c\
|
||||
$cmake\
|
||||
$cobol\
|
||||
$daml\
|
||||
$dart\
|
||||
$deno\
|
||||
$dotnet\
|
||||
$elixir\
|
||||
$elm\
|
||||
$erlang\
|
||||
$fennel\
|
||||
$gleam\
|
||||
$golang\
|
||||
$gradle\
|
||||
@@ -31,31 +20,18 @@ $haskell\
|
||||
$haxe\
|
||||
$helm\
|
||||
$java\
|
||||
$julia\
|
||||
$kotlin\
|
||||
$lua\
|
||||
$nim\
|
||||
$nodejs\
|
||||
$ocaml\
|
||||
$odin\
|
||||
$opa\
|
||||
$perl\
|
||||
$php\
|
||||
$pulumi\
|
||||
$purescript\
|
||||
$python\
|
||||
$quarto\
|
||||
$raku\
|
||||
$rlang\
|
||||
$red\
|
||||
$ruby\
|
||||
$rust\
|
||||
$scala\
|
||||
$solidity\
|
||||
$swift\
|
||||
$terraform\
|
||||
$typst\
|
||||
$vlang\
|
||||
$vagrant\
|
||||
$zig\
|
||||
$docker_context\
|
||||
@@ -66,16 +42,14 @@ $conda\
|
||||
$meson\
|
||||
$spack\
|
||||
$memory_usage\
|
||||
$crystal\
|
||||
$direnv\
|
||||
$env_var\
|
||||
$singularity\
|
||||
$custom\
|
||||
$sudo\
|
||||
$cmd_duration\
|
||||
$line_break\
|
||||
$username\
|
||||
$jobs\
|
||||
$battery\
|
||||
$time\
|
||||
$status\
|
||||
$container\
|
||||
@@ -212,7 +186,7 @@ crust = "#11111b"
|
||||
|
||||
[character]
|
||||
# Note the use of Catppuccin color 'maroon'
|
||||
success_symbol = "[[♥](green) ❯](maroon)"
|
||||
success_symbol = "[[♥](peach) ❯](maroon)"
|
||||
error_symbol = "[❯](red)"
|
||||
vimcmd_symbol = "[❮](green)"
|
||||
|
||||
@@ -403,5 +377,9 @@ symbol = " "
|
||||
[swift]
|
||||
symbol = " "
|
||||
|
||||
[username]
|
||||
show_always = true
|
||||
format = "[$user]($style) on "
|
||||
|
||||
[zig]
|
||||
symbol = " "
|
||||
|
||||
Reference in New Issue
Block a user