summaryrefslogtreecommitdiff
path: root/bash/.bashrc
blob: b5460fc23867a4bac2ff440cb43e81b6df3c30d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# If not running interactively, don't do anything
[[ $- != *i* ]] && return

# Prompt
if [[ -n $SSH_CLIENT  ]]; then
    PS1=$'\e[0;31m[\h]\e[0m \w $ '
else
    PS1='\w $ '
fi

# FZF
[ -f ~/.fzf.bash ] && source ~/.fzf.bash

FZF_MARKS_PLUGIN=$HOME/dotfiles/plugins/fzf-marks/fzf-marks.plugin.bash
[ -f "$FZF_MARKS_PLUGIN" ] && source "$FZF_MARKS_PLUGIN"