add fish and starship to dotfile repo
This commit is contained in:
1
fish/conf.d/00-vault.fish
Normal file
1
fish/conf.d/00-vault.fish
Normal file
@@ -0,0 +1 @@
|
||||
set -x VAULT_ADDR 'https://vault.chaos.sh:443'
|
||||
2
fish/conf.d/10-cloudflare.fish
Normal file
2
fish/conf.d/10-cloudflare.fish
Normal file
@@ -0,0 +1,2 @@
|
||||
set -x CF_API_EMAIL cloudflare@basicchaos.de
|
||||
set -x CF_API_KEY $(vault kv get -field apikey services/cloudflare)
|
||||
9
fish/conf.d/20-cargo.fish
Normal file
9
fish/conf.d/20-cargo.fish
Normal file
@@ -0,0 +1,9 @@
|
||||
set -x CARGO_MOMMYS_MOODS chill/thirsty
|
||||
set -x CARGO_MOMMYS_PRONOUNS her/pups/their/faer
|
||||
set -x CARGO_MOMMYS_ROLES honeybee
|
||||
set -x CARGO_MOMMYS_LITTLE kitten/fae/girl
|
||||
set -x CARGO_MOMMYS_ACTUAL sudo
|
||||
|
||||
function sudo --wraps /usr/bin/sudo
|
||||
cargo-mommy $argv
|
||||
end
|
||||
16
fish/conf.d/30-pacman.fish
Normal file
16
fish/conf.d/30-pacman.fish
Normal file
@@ -0,0 +1,16 @@
|
||||
set -u PACMAN paru
|
||||
function update
|
||||
$PACMAN -Syu
|
||||
end
|
||||
|
||||
function remove --wraps "$PACMAN -Rcsnu"
|
||||
$PACMAN -Rscnu $argv
|
||||
end
|
||||
|
||||
function search --wraps "$PACMAN -Ss"
|
||||
$PACMAN -Ss $argv
|
||||
end
|
||||
|
||||
function install --wraps "$PACMAN -Sy"
|
||||
$PACMAN -Sy $argv
|
||||
end
|
||||
43
fish/conf.d/98-basic-aliases.fish
Normal file
43
fish/conf.d/98-basic-aliases.fish
Normal file
@@ -0,0 +1,43 @@
|
||||
# tool aliases
|
||||
function irc
|
||||
mosh -p 60561:60565 arsenalgear -- tmux attach -t irc
|
||||
end
|
||||
|
||||
function last_history_item
|
||||
echo $history[1]
|
||||
end
|
||||
abbr -a !! --position anywhere --function last_history_item
|
||||
|
||||
function htop
|
||||
/usr/bin/btop
|
||||
end
|
||||
|
||||
function vim
|
||||
/usr/bin/nvim $argv
|
||||
end
|
||||
|
||||
function vim
|
||||
/usr/bin/nvim $argv
|
||||
end
|
||||
|
||||
function pass --wraps gopass
|
||||
gopass
|
||||
end
|
||||
|
||||
# *ctl aliases
|
||||
function sc --wraps "sudo systemctl"
|
||||
sudo systemctl
|
||||
end
|
||||
|
||||
function scu --wraps "systemctl --user"
|
||||
systemctl --user
|
||||
end
|
||||
|
||||
# ansible related aliases
|
||||
function anp
|
||||
ansible-playbook
|
||||
end
|
||||
|
||||
function anv
|
||||
ansible-vault
|
||||
end
|
||||
8
fish/conf.d/99-basic-exports.fish
Normal file
8
fish/conf.d/99-basic-exports.fish
Normal file
@@ -0,0 +1,8 @@
|
||||
set -x TERM xterm-256color
|
||||
set -x VISUAL /usr/bin/nvim
|
||||
set -x EDITOR $VISUAL
|
||||
set -x BROWSER firefox
|
||||
set -x SSH_AUTH_SOCK "$XDG_RUNTIME_DIR/ssh-agent.socket"
|
||||
|
||||
set -x GOPATH $HOME/build/go
|
||||
set -x PATH $GOPATH/bin:$HOME/.cargo/bin:$HOME/.local/bin:/usr/local/bin:$PATH
|
||||
Reference in New Issue
Block a user