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.
dotfiles/oh-my-zsh/.oh-my-zsh/aliases.sh

47 lines
968 B

3 years ago
#!/usr/bin/bash
alias xcopy="xclip -selection c"
alias xpaste="xclip -selection c -o"
2 years ago
alias ccd="pwd | xclip"
3 years ago
# Programs
alias vidconvert="ffmpeg -i"
# alias vim="nvim"
# alias vi="nvim"
2 years ago
# Shortcuts
2 years ago
# alias todo="task"
alias armas="arm-none-eabi-as -march=armv6-m -g"
alias armld="arm-none-eabi-ld -T \"/usr/share/eterm8/md407-ram.x\""
alias armgdb="arm-none-eabi-gdb"
2 years ago
# Laptop stuff
alias setbri="xrandr --output eDP-1 --brightness"
2 years ago
alias lsbat="cat /sys/class/power_supply/BAT0/capacity"
alias lsnet="nmcli | grep "^wlp" | sed 's/\ connected\ to\ //g' | cut -d ':' -f2"
alias gdb-multiarch="arm-none-eabi-gdb"
2 years ago
# Git stuff
alias gc="git add -A && git commit -m"
# Shortcuts
alias dots="cd $HOME/.dotfiles"
10 months ago
# Very nice things
cd_gitroot() {
cd "$(git rev-parse --show-toplevel)"
}
alias cr="cd_gitroot"
10 months ago
4 months ago
alias dev="cd $HOME/Projects/almtech/exa/"
10 months ago
alias dc="docker-compose"
9 months ago
alias dots="cd $HOME/.dotfiles/"
8 months ago
# Vim stuff
alias vi="nvim"
alias vim="nvim"