summaryrefslogtreecommitdiff
path: root/bash/.bashrc
blob: 542ce5305c4c0d2038ec4b9c15d2128ae4c15d6b (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/Dropbox/projects/fzf-marks/fzf-marks.plugin.bash
[ -f "$FZF_MARKS_PLUGIN" ] && source "$FZF_MARKS_PLUGIN"