mirror of
https://github.com/starr-dusT/dotfiles.git
synced 2025-05-18 10:26:06 -07:00
Compare commits
2 Commits
776aaae194
...
b8131941ab
Author | SHA1 | Date | |
---|---|---|---|
b8131941ab | |||
40191e2c4d |
@ -1,9 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
if [ -f ~/.wg0 ]; then
|
||||
sudo systemctl stop wg-quick-wg0.service
|
||||
rm ~/.wg0
|
||||
else
|
||||
sudo systemctl restart wg-quick-wg0.service
|
||||
touch ~/.wg0
|
||||
fi
|
@ -10,7 +10,7 @@ alias nb="cd ~/.local/share/chezmoi/provision && \
|
||||
cd -"
|
||||
|
||||
# sesh
|
||||
function s() {
|
||||
function b() {
|
||||
{
|
||||
exec </dev/tty
|
||||
exec <&1
|
||||
@ -21,14 +21,8 @@ function s() {
|
||||
}
|
||||
}
|
||||
|
||||
# hyprland
|
||||
alias h='Hyprland'
|
||||
|
||||
alias tw='linux-toggle-vpn'
|
||||
|
||||
# chezmoi
|
||||
alias cc="cd ~/.local/share/chezmoi"
|
||||
alias cdr="chezmoi apply --verbose --dry-run"
|
||||
alias ca="chezmoi apply"
|
||||
alias ce='chezmoi edit'
|
||||
|
||||
@ -38,19 +32,8 @@ alias te='trash-empty'
|
||||
alias tl='trash-list'
|
||||
alias tre='trash-restore'
|
||||
alias trm='trash-rm'
|
||||
alias rofi='wayland-rofi'
|
||||
|
||||
# zk
|
||||
alias cz="cd ~/documents/zet"
|
||||
|
||||
# nnn
|
||||
|
||||
# Open nnn at location you closed it
|
||||
n() {
|
||||
nnn -r -e $(cat ~/.nnn_last)
|
||||
echo "$(pwd)" > ~/.nnn_last
|
||||
}
|
||||
|
||||
# cp and mv with progress
|
||||
alias cp="cpg -g"
|
||||
alias mv="mvg -g"
|
||||
|
||||
@ -61,12 +44,5 @@ alias ga="git add ."
|
||||
alias gd="git diff"
|
||||
alias gl="git log"
|
||||
|
||||
# dev
|
||||
alias dp="docker pull ghcr.io/starr-dust/dev-container:master"
|
||||
alias dr='docker run --rm --name $(date +%Y%m%d%k%M%S) -p 8082:8082 -v $(pwd):/root/src -it ghcr.io/starr-dust/dev-container:master'
|
||||
|
||||
# applications
|
||||
alias google-chrome-stable="google-chrome-stable --simulate-outdated-no-au='Tue, 31 Dec 2099 23:59:59 GMT'"
|
||||
|
||||
# rsync
|
||||
alias rsync.net="ssh fm2120@fm2120.rsync.net"
|
||||
|
Loading…
x
Reference in New Issue
Block a user