blob: 37f43345c51f2d4a146e492e81dacc0edade8c1c (
plain)
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
|
# .bashrc
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
# User specific environment
if ! [[ "$PATH" =~ "$HOME/.local/bin:$HOME/bin:" ]]
then
PATH="$HOME/.local/bin:$HOME/bin:$PATH"
fi
export PATH
# Uncomment the following line if you don't like systemctl's auto-paging feature:
# export SYSTEMD_PAGER=
# User specific aliases and functions
if [ -d ~/.bashrc.d ]; then
for rc in ~/.bashrc.d/*; do
if [ -f "$rc" ]; then
. "$rc"
fi
done
fi
unset rc
# Custom #
source /usr/share/git-core/contrib/completion/git-prompt.sh
export PS1='[\u@\[\033[00;32m\]\h\[\033[00m\] \w$(__git_ps1 " (%s)")]\\$ '
HISTSIZE=100000
HISTFILESIZE=200000
HISTCONTROL=ignorespace:erasedups
## display ##
alias dboth='xrandr --output eDP-1 --mode 1920x1080 --output DP-1 --mode 1920x1080 --right-of eDP-1'
alias dclone='xrandr --output eDP-1 --mode 1920x1080 --output DP-1 --mode 1920x1080'
alias dmonitoronly='xrandr --output eDP-1 --mode 1920x1080 --primary --output DP-1 --off'
alias dtvonly='xrandr --output DP-1 --mode 1920x1080 --primary --output eDP-1 --off'
#############
## audio ##
alias adefault='pacmd set-card-profile 0 output:analog-stereo+input:analog-stereo'
alias ahdmi='pacmd set-card-profile 0 output:hdmi-stereo+input:analog-stereo'
#alias aheadphones='pacmd set-card-profile 0 output:analog-stereo+input:mono-fallback'
###########
## logins ##
alias lbaby='ssh -2 -4 rb'
alias lrasp='ssh -2 -4 rg'
alias server='ssh -2 -4 mb'
alias ssocks='ssh -2 -4 -N -n -T -D 9999'
alias knock='ssh -2 -4 -p 30023 mb'
alias lfg='ssh -2 -4 fg'
alias lss='ssh -2 -4 ss'
############
alias pbeinc='beinc_poller.py -T 8 -n sagabox_hub -p ~/.beinc_passwd -c ~/.beinc_cacert.crt https://beinc.pichove.org:40004/beinc/pull/'
alias yt-dlp='/usr/bin/youtube-dl -f best -o "%(title)s.%(ext)s"'
alias emacs='emacs -nw'
export LANG=en_US.UTF-8
export EDITOR=emacs
export DEBEMAIL="sgs@pichove.org"
export DEBFULLNAME="Simeon Simeonov"
|