-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.bashrc
More file actions
46 lines (36 loc) · 1.31 KB
/
.bashrc
File metadata and controls
46 lines (36 loc) · 1.31 KB
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
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
PS1='\[\033[01;37m\]\u\[\033[00m\]:\[\033[01;32m\]\W\[\033[00m\]\$\[\033[00m\] '
export LANG=en_US.UTF-8
export EDITOR=vi
# History, ignore duplicates, append
export HISTSIZE="10000"
export HISTFILESIZE="10000"
export HISTCONTROL=$HISTCONTROL${HISTCONTROL+:}ignoredups
shopt -s histappend
# fzf: Respect .gitignore and don't exclude hidden files
export FZF_DEFAULT_COMMAND='fd --type f --strip-cwd-prefix --hidden --follow --exclude .git'
export PATH=$PATH:$PWD/tmux-sessions/
# Kitty
if test -n "$KITTY_INSTALLATION_DIR" -a -e "$KITTY_INSTALLATION_DIR/shell-integration/bash/kitty.bash"; then
source "$KITTY_INSTALLATION_DIR/shell-integration/bash/kitty.bash";
fi
# Os specific configuration
#
# Configurations that are specific to an operating system should be placed
# in `.osrc.darwin` or `.osrc.linux` depending on the OS.
case "$(uname)" in
Darwin)
[ -f "$HOME/.osrc.darwin" ] && . "$HOME/.osrc.darwin"
;;
Linux)
[ -f "$HOME/.osrc.linux" ] && . "$HOME/.osrc.linux"
;;
esac
[ -f $HOME/.alias ] && . $HOME/.alias
# Machine specific configuration
#
# Configurations that are specific to a local machine and thus should be
# checked in should be placed in `.localrc`.
[ -f $HOME/.localrc ] && . $HOME/.localrc
set -o vi