-
Notifications
You must be signed in to change notification settings - Fork 0
/
.bashrc
32 lines (26 loc) · 848 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
#
# ~/.bashrc
#
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
alias ls='ls --color=auto -F'
alias la='ls --color=auto -lFa'
alias ll='ls --color=auto -lF'
alias ip='ip -color=auto'
alias ..='cd ..'
alias grep='grep --color=auto'
alias hg=chg
GREEN="\[\e[0;92m\]"
RESET="\[\e[0m\]"
BASE_PROMPT="\u@\h ${GREEN}\w${RESET}"
[[ -f "$HOME/.config/guix/current/etc/bash_completion.d/guix" ]] && \
. "$HOME/.config/guix/current/etc/bash_completion.d/guix"
if [ -n "$GUIX_ENVIRONMENT" ]
then
export PS1="${BASE_PROMPT} [env]\$ "
else
export PS1="${BASE_PROMPT} \$ "
fi
# BEGIN_KITTY_SHELL_INTEGRATION
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
# END_KITTY_SHELL_INTEGRATION