-
Notifications
You must be signed in to change notification settings - Fork 0
/
.bashrc
34 lines (26 loc) · 1.02 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
# ~/.bashrc
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
# Terminal Configuration
export TERM=xterm-256color
export VISUAL=nvim
export EDITOR="$VISUAL"
export ZDOTDIR="$HOME/.config/zsh"
export TEXMFVAR="/var/lib/texmf"
# Flutter Support
export ANDROID_HOME=$HOME/android-sdk
export PATH=$PATH:$ANDROID_HOME/platform-tools
export JAVA_HOME=/usr/lib/jvm/java-17-openjdk
export FZF_DEFAULT_OPTS="--height=100% --info=inline --border --margin=1 --padding=1 --color=bg+:#1a1b26,bg:#1a1b26,border:#a9b1d6,spinner:#1abc9c,hl:#ff007c,fg:#c0caf5,header:#ffffff,info:#1abc9c,pointer:#f7768e,marker:#db4b4b,fg+:#a9b1d6,preview-bg:#1a1b26,prompt:#7aa2f7,hl+:#1abc9c"
# Disable history
export HISTSIZE=0
export HISTFILESIZE=0
# Source best aliases
source ~/.config/zsh/aliases
# Keybinds
bind -x '"\C-x":exit'
bind -x '"\C-f":"~/.local/bin/sessionizer.sh"'
bind -x '"\C-n":"nvim"'
# Modernize prompt
export PS1="\[\033[34m\] \[\033[1;37m\]\w \[\033[0;34m\] \[\033[0m\]"
#export PS1='\[\e[1;34m\]\w\[\e[0m\] ❱ '