Add functions

This commit is contained in:
Mylloon 2024-04-08 21:38:19 +02:00
parent 4c0cd88062
commit 328516f02d
Signed by: Anri
GPG key ID: A82D63DFF8D1317F
2 changed files with 7 additions and 0 deletions

View file

@ -84,6 +84,11 @@ function main {
wget -q "${repo}"/.config/fish/conf.d/abbr.fish -O "$HOME"/.config/fish/conf.d/abbr.fish
# Add aliases
wget -q "${repo}"/.config/fish/conf.d/alias.fish -O "$HOME"/.config/fish/conf.d/alias.fish
# Add functions
wget -q "${repo}"/.config/fish/functions/makeaway.fish -P "$HOME"/.config/fish/functions/
wget -q "${repo}"/.config/fish/functions/ssh-export.fish -P "$HOME"/.config/fish/functions/
wget -q "${repo}"/.config/fish/functions/ssh-import.fish -P "$HOME"/.config/fish/functions/
wget -q "${repo}"/.config/fish/functions/ugc.fish -P "$HOME"/.config/fish/functions/
# === Default editor ==

2
wsl.sh
View file

@ -80,6 +80,8 @@ function main {
curl -s ${repo}/.config/fish/config_wsl.fish >> "$HOME"/.config/fish/config.fish
curl -s ${repo}/.config/fish/conf.d/abbr_wsl.fish >> "$HOME"/.config/fish/conf.d/abbr.fish
curl -s ${repo}/.config/fish/conf.d/alias_wsl.fish >> "$HOME"/.config/fish/conf.d/alias.fish
# Specific WSL functions
wget -q "${repo}"/.config/fish/functions/trash.fish -P "$HOME"/.config/fish/functions/
# === OCaml ==