Added nvim / ghostty / starship config

Signed-off-by: Rack Lin <racklin@gmail.com>
This commit is contained in:
2026-02-10 14:50:15 +08:00
parent 6cc8e616c3
commit 86b71b9554
61 changed files with 2928 additions and 68 deletions

View File

@@ -1,26 +1,6 @@
if type -q exa
alias ls "exa -g --icons --classify"
alias lsa "ls -a"
alias ll "exa -l -g --icons --classify"
alias lla "ll -a"
if type -q eza
alias ls "eza -g --icons --classify --group-directories-first"
alias lsa "ls -a"
alias ll "ls -l"
alias lla "ll -a"
end
if type -q ghq
alias ghqcd="cd \$(ghq list --full-path | fzf)"
end
if type -q docker
# PHP in container
alias dcomposer="docker run --rm --interactive --tty --volume \$PWD:/app --volume \$HOME/.composer:/tmp composer:latest composer"
alias dphp="docker run --rm --interactive --tty --volume \$PWD:/app --volume /Users:/Users composer:latest php"
alias dphp8="docker run --rm --interactive --tty --volume \$PWD:/app composer:latest php"
alias dphp7="docker run --rm --interactive --tty --volume \$PWD:/app --workdir /app php:7.4-cli php"
alias dlaravel="docker run --rm --interactive --tty --volume \$PWD:/app --volume \$HOME/.composer:/tmp composer:latest /tmp/vendor/bin/laravel"
end
if type -q thefuck
thefuck --alias | source
end