Select the types of activity you want to include in your feed.
Personal dotfiles for Linux, mostly for Nixpkgs/NixOS-based and Termux setups. Mirrored using GitLab's push mirroring feature.
gitlab.com/andreijiroh-dev/dotfiles
···11+#!/bin/env sh
22+33+# Aliases across shells. Note that this is only tested on Bash and Zsh, with a bit of testing
44+# on ash.
55+66+# basic git commands
77+alias clone="git clone"
88+alias stats="git status"
99+## shortcuts to creating commits
1010+alias commit="git commit --signoff --gpg-sign"
1111+alias commit-nogpg="git commit --signoff --no-gpg-sign"
1212+alias new-checkpoint="commit"
1313+alias new-checkpoint-nogpg="commit-nogpg"
1414+## shortcuts to creating tags
1515+alias tag-checkpoint="git tag --gpg-sign"
1616+alias tag-checkpoint-nogpg="git tag --no-gpg-sign"
1717+alias new-tag="tag-checkpoint"
1818+alias new-tag-nogpg="tag-checkpoint-nogpg"
1919+## shortcuts to managing yiff stash
2020+alias stash="git stash push --keep-index"
2121+alias pop-stash="git stash pop"
2222+alias apply-stash="git stash apply"
2323+alias yeet-stash="git stash drop"
2424+## staging stuff
2525+alias stage="git add"
2626+alias unstage="git restore --staged"
2727+alias nuke-from-index="git rm"
2828+2929+# branch management
3030+alias rename-branch="git branch -m"
3131+alias set-upstream-remote="git branch -u"
3232+3333+# remote management
3434+alias change-origin="git remote set-url origin"
3535+alias change-upstream="git remote set-url upstream"
3636+alias add-remote="git remote add"
3737+alias change-remote-url="git remote set-url"
3838+alias nuke-remote="git remote remove"
3939+alias remove-remote="nuke-remote"
4040+4141+# git push
4242+alias push="git push"
4343+## add main:master since Git assumes local branch to
4444+## remote branch when running this alias
4545+alias deploy-divio="git push divio"
4646+4747+# fetch / pull
4848+alias fetch="git fetch --all"
4949+## depending on remote branch at upstream,
5050+## assumes its same branch.
5151+alias pull-upstream="fetch && git pull upstream"
5252+alias pull-origin="fetch && git pull origin"
5353+5454+# history-cleanup like scripts
5555+alias clean-shellhis="history -c && clear"
5656+5757+# test SSH connections
5858+alias test-gh-ssh="ssh -p 22 git@github.com"
5959+alias test-gl-ssh="ssh -p 22 git@gitlab.com"
6060+6161+# ssh-agent stuff
6262+## quock shortcut into add-ssh-keys stuff
6363+#alias add-ssh-key="$HOME/.dotfiles/bin/add-ssh-keys"
6464+6565+# shortcuts to some functions
6666+alias edit-script="edit-script-file"
6767+6868+# add a bit of test here
6969+alias guild-test="echo successfully imported owo"
7070+7171+# shortcuts for rdp stuff
7272+alias bshq-cursed='rdesktop --user cursed-remote-user -r audio:local -x lan -r clipboard:PRIMARYCLIPBOARD -n guildedguy bullshit.hq'
+2
.profile
···11+#!/usr/bin/env sh
12# if running bash
23if [ -n "$BASH_VERSION" ]; then
34 # include .bashrc if it exists
···78fi
89910source "$HOME/.env"
1111+source "$HOME/.config/aliases"