Usability improvements

- Starship removed unused modules from prompt
- Added aliases
This commit is contained in:
Fabio Scotto di Santolo
2024-07-28 16:12:20 +02:00
parent 32c45d5e9d
commit 05e28b250f
2 changed files with 16 additions and 29 deletions

View File

@@ -7,7 +7,11 @@ set -xU MANROFFOPT -c
set -x SHELL /usr/bin/fish set -x SHELL /usr/bin/fish
set -x GOPATH $HOME/.local/share/go set -x GOPATH $HOME/.local/share/go
set -x GOBIN $GOPATH/bin 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 ## Export variable need for qt-theme
if type qtile >>/dev/null 2>&1 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 # Replace df command tool
alias df='duf' alias df='duf'
# Safety rm command
alias rm 'trash -v'
# Common use # Common use
alias .. 'cd ..' alias .. 'cd ..'
alias ... 'cd ../..' alias ... 'cd ../..'
@@ -163,3 +170,5 @@ alias untar 'tar -zxvf '
alias vdir 'vdir --color=auto' alias vdir 'vdir --color=auto'
alias wget 'wget -c ' alias wget 'wget -c '
alias stow 'stow --dotfiles -d ~/.dotfiles ' alias stow 'stow --dotfiles -d ~/.dotfiles '
alias openport 'netstat -nape --inet'
alias kssh 'kitty +kitten ssh'

View File

@@ -1,29 +1,18 @@
format = """ format = """
$username\
$directory\ $directory\
$vcsh\ $vcsh\
$fossil_branch\
$fossil_metrics\
$git_branch\ $git_branch\
$git_commit\ $git_commit\
$git_state\ $git_state\
$git_metrics\ $git_metrics\
$git_status\ $git_status\
$hg_branch\ $hg_branch\
$pijul_channel\
$package\ $package\
$bun\ $bun\
$c\ $c\
$cmake\ $cmake\
$cobol\
$daml\
$dart\
$deno\
$dotnet\
$elixir\ $elixir\
$elm\
$erlang\ $erlang\
$fennel\
$gleam\ $gleam\
$golang\ $golang\
$gradle\ $gradle\
@@ -31,31 +20,18 @@ $haskell\
$haxe\ $haxe\
$helm\ $helm\
$java\ $java\
$julia\
$kotlin\ $kotlin\
$lua\ $lua\
$nim\
$nodejs\ $nodejs\
$ocaml\ $ocaml\
$odin\
$opa\
$perl\ $perl\
$php\ $php\
$pulumi\
$purescript\
$python\ $python\
$quarto\
$raku\
$rlang\
$red\
$ruby\ $ruby\
$rust\ $rust\
$scala\ $scala\
$solidity\
$swift\ $swift\
$terraform\ $terraform\
$typst\
$vlang\
$vagrant\ $vagrant\
$zig\ $zig\
$docker_context\ $docker_context\
@@ -66,16 +42,14 @@ $conda\
$meson\ $meson\
$spack\ $spack\
$memory_usage\ $memory_usage\
$crystal\
$direnv\ $direnv\
$env_var\ $env_var\
$singularity\
$custom\ $custom\
$sudo\ $sudo\
$cmd_duration\ $cmd_duration\
$line_break\ $line_break\
$username\
$jobs\ $jobs\
$battery\
$time\ $time\
$status\ $status\
$container\ $container\
@@ -212,7 +186,7 @@ crust = "#11111b"
[character] [character]
# Note the use of Catppuccin color 'maroon' # Note the use of Catppuccin color 'maroon'
success_symbol = "[[♥](green) ](maroon)" success_symbol = "[[♥](peach) ](maroon)"
error_symbol = "[](red)" error_symbol = "[](red)"
vimcmd_symbol = "[](green)" vimcmd_symbol = "[](green)"
@@ -403,5 +377,9 @@ symbol = " "
[swift] [swift]
symbol = " " symbol = " "
[username]
show_always = true
format = "[$user]($style) on "
[zig] [zig]
symbol = " " symbol = " "