Configuration files for my GNU/Linux installation.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
#!/usr/bin/bash
|
|
|
|
|
|
|
|
alias xcopy="xclip -selection c"
|
|
|
|
alias xpaste="xclip -selection c -o"
|
|
|
|
|
|
|
|
alias ccd="pwd | xclip"
|
|
|
|
|
|
|
|
# Programs
|
|
|
|
alias vidconvert="ffmpeg -i"
|
|
|
|
# alias vim="nvim"
|
|
|
|
# alias vi="nvim"
|
|
|
|
|
|
|
|
# Shortcuts
|
|
|
|
alias todo="task"
|
|
|
|
|
|
|
|
# Laptop stuff
|
|
|
|
alias setbri="xrandr --output eDP-1 --brightness"
|
|
|
|
|
|
|
|
# Cringe
|
|
|
|
alias gdb-multiarch="arm-none-eabi-gdb"
|
|
|
|
|
|
|
|
# Git stuff
|
|
|
|
alias gc="git add -A && git commit -m"
|
|
|
|
|
|
|
|
# Very nice things
|
|
|
|
cd_gitroot() {
|
|
|
|
cd "$(git rev-parse --show-toplevel)"
|
|
|
|
}
|
|
|
|
|
|
|
|
alias cr="cd_gitroot"
|
|
|
|
|
|
|
|
alias dev="cd $HOME/Projects/almtech/exa/code/"
|
|
|
|
|
|
|
|
alias dc="docker-compose"
|
|
|
|
|
|
|
|
alias dots="cd $HOME/.dotfiles/"
|
|
|
|
|
|
|
|
# Vim stuff
|
|
|
|
# alias vi="nvim"
|
|
|
|
# alias vim="nvim"
|
|
|
|
|
|
|
|
# Clock reset thing
|
|
|
|
alias restart_clock="ssh rasp \"sudo systemctl restart pyscript@clock.py.service\""
|