shellskripte/fish.sh

51 lines
998 B
Bash

sudo pacman -Syu
sudo pacman -S bitwarden brave cachyos-gaming-applications cachyos-gaming-meta go neovim obsidian os-prober steam tmux thunderbird
function mkcd
mkdir -p -- $argv[1]
cd -P -- $argv[1]
end
funcsave mkcd
function newgit
mkcd $argv[1]
git init
git checkout -b main
touch README.md
git add .
git commit -a -m "initial commit"
git remote add origin https://git.boergmann.it/klaas/$argv[1].git
git push -u origin main
end
funcsave newgit
function gitclone
git clone https://git.boergmann.it/klaas/$argv[1].git
cd $argv[1]
end
funcsave gitclone
function cloneaur
git clone https://aur.archlinux.org/$argv[1].git
cd $argv[1]
end
funcsave cloneaur
function doch
set last (history | head -n 1 | string split " " | tail -n +3 | string join " ")
eval sudo $last
end
funcsave doch
alias s001='ssh klaas@s001'
funcsave s001
alias s002='ssh klaas@s002.boergmann.it'
funcsave s002
mkcd ~/AUR
cloneaur yay
makepkg -i
yay qimgv-git pcloud-drive seadrive-gui