Compare commits

...

3 Commits

4 changed files with 24 additions and 4 deletions

3
.gitignore vendored
View File

@ -244,3 +244,6 @@ Music/
notes.org notes.org
.config/backup.log .config/backup.log
.config/gh/config.yml
.config/gh/hosts.yml
.local/state/gh/state.yml

View File

@ -6,6 +6,6 @@ sudo ebuildtester \
--update \ --update \
--unstable \ --unstable \
--rm \ --rm \
--portage-dir /home/yorune/git/dev/gentoo \ --portage-dir "$HOME/git/dev/gentoo" \
--overlay-dir /home/yorune/git/dev/guru --overlay-dir "$HOME/git/dev/guru" \
--atom "$@" --atom "$@"

17
.local/bin/tester-ubuntu Executable file
View File

@ -0,0 +1,17 @@
#!/bin/bash
docker stop "$(docker ps --all | grep -i ubuntu | awk '{print $1}')" > /dev/null
docker rm "$(docker ps --all | grep -i ubuntu | awk '{print $1}')" > /dev/null
docker pull jrei/systemd-ubuntu:latest
docker run \
-d \
-v $HOME/git/dev:/opt \
--tmpfs /tmp \
--tmpfs /run \
--tmpfs /run/lock \
--privileged \
-v /sys/fs/cgroup:/sys/fs/cgroup:ro \
jrei/systemd-ubuntu
container="$(docker ps --all | grep -i ubuntu | awk '{print $1}')"
sleep 15 && docker exec -it "$container" /bin/bash
docker stop "$container"
docker rm "$container"

2
.zshrc
View File

@ -89,7 +89,7 @@ alias gst="git status -s"
alias gdiff="git diff" alias gdiff="git diff"
alias gnew="git checkout -b" alias gnew="git checkout -b"
alias glog="git log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --branches" alias glog="git log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --branches"
alias gfg="git checkout master && git fetch upstream && git pull upstream master" alias gfg="(git checkout master; git checkout main) && git fetch upstream && git pull upstream master"
alias cal="cal -3" alias cal="cal -3"
alias code="vscodium-bin" alias code="vscodium-bin"
alias vpn="sudo /root/.local/bin/protonvpn c -f" alias vpn="sudo /root/.local/bin/protonvpn c -f"