-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.bashrc~
72 lines (53 loc) · 2.07 KB
/
.bashrc~
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
#
# ~/.bashrc
#
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
export PATH="$HOME/.local/bin:$PATH"
# Source this file
alias reload='source ~/.bashrc'
alias ls='ls --color=auto'
PS1='[\u@\h \W]\$ '
alias ..='cd ..'
alias rm='rm -i'
alias home='cd $HOME'
alias sammu='shutdown -h now'
alias gitsave='git add --all && git commit -m "unimportant" && git push'
alias myscrot='scrot -s ~/Media/Images/Screenshots/%b%d-%h%m%s.png'
# Temporary configurations
alias dailenv='source ~/bin/dailenv.sh'
alias cdaily='cd ~/Projects/daily/daily'
alias night='redshift -PO'
alias prg3='cd ~/qpnifi/'
alias activate='. venv/bin/activate'
alias opnet='netti connect AndroidAP_3058'
# Uni
alias course='cd ~/Documents/Study/Bachelor_0/Semester_1/'
alias mage='g++ main.cpp -Wall -o main.exe'
alias study='cd ~/Study/Bachelor_2/Semester_1/Intro_ML/Week4/NeuralNetworks/'
# ssh
if [ -z "$SSH_AUTH_SOCK" ] ; then
eval `ssh-agent`
ssh-add
fi
alias netti='nmcli device wifi'
# Arduino irrigation specific
alias arcompile='arduino-cli compile --fqbn arduino:avr:uno'
alias arupload='arduino-cli upload -p /dev/ttyUSB0 --fqbn arduino:avr:uno'
# Monitor setups
alias homehdmi='xrandr --output eDP1 --primary --mode 1920x1080 --pos 0x1080 --rotate normal --output HDMI1 --mode 1920x1080 --pos 0x0 --rotate normal --output VIRTUAL1 --off'
alias vierhdmi='xrandr --output eDP1 --primary --mode 1920x1080 --pos 0x0 --rotate normal --output HDMI1 --mode 1920x1080 --pos 1920x0 --rotate normal --output VIRTUAL1 --off'
# Audio commands
alias mictest='arecord -f S24_LE -c 2 -r 192000 -d 10 /tmp/test.wav && aplay /tmp/test.wav'
#source "$HOME/.cargo/env"
# Check for aur updates using a python script.
alias aurup='~/.config/i3/i3blocks/aur-update'
. "$HOME/.cargo/env"
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/nicklas/.mujoco/mjpro150/bin
#source ~/.screenlayout/home.sh
PATH=/usr/.local/bin:$PATH
[ -s ~/.guild/bash_completion ] && . ~/.guild/bash_completion # Enable completion for guild
# pudb breakpoint()
export PYTHONBREAKPOINT="pudb.set_trace"
alias dots='cd ~/.dotfiles'
IFNOREEOF=3