-
Notifications
You must be signed in to change notification settings - Fork 0
/
.bashrc
39 lines (31 loc) · 945 Bytes
/
.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
# Environment Variables
export PATH=/usr/lib/ccache/bin:$PATH:~/.local/share/bin
export EDITOR=/usr/bin/vim
export VISUAL=/usr/bin/vim
export BROWSER=/usr/bin/vivaldi-stable
export GTK_THEME=Vertex-Dark
# Fix fonts not showing up in java applications
export _JAVA_OPTIONS='-Dawt.useSystemAAFontSettings=on -Dswing.aatext=true'
# Fix Java applications not rendering in sway
export _JAVA_AWT_WM_NONREPARENTING=1
# General Aliases
alias i3sus="i3lock -c 111111 && systemctl suspend"
alias java7="/lib/jvm/java-7-openjdk/bin/java "
alias javac7="/lib/jvm/java-7-openjdk/bin/javac "
alias java8="/lib/jvm/java-8-openjdk/bin/java "
alias javac8="/lib/jvm/java-8-openjdk/bin/javac "
# General Functions
mkcd() {
mkdir "$1" && cd "$1"
}
mkpcd() {
mkdir -p "$1" && cd "$1"
}
# Package Not Found
source /usr/share/doc/pkgfile/command-not-found.bash
# Auto cd
shopt -s autocd
# Window Sizing Fix
shopt -s checkwinsize
# Set vi keybinds
set -o vi