blob: 08e016fc80ffde68d3d88653c34be45329b491fe (
plain)
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
47
48
49
|
# Bash-specific initialization, including for non-login and remote
# shells (info "(bash) Bash Startup Files").
# Provide a default prompt.
PS1='\u@\h \w${GUIX_ENVIRONMENT:+ [env]}\$ '
# Export 'SHELL' to child processes. Programs such as 'screen'
# honor it and otherwise use /bin/sh.
export SHELL
if [[ $- != *i* ]]
then
# We are being invoked from a non-interactive shell. If this
# is an SSH session (as in "ssh host command"), source
# /etc/profile so we get PATH and other essential variables.
[[ -n "$SSH_CLIENT" ]] && source /etc/profile
# Don't do anything else, returning a successful return code.
return 0
fi
for i in /etc/bashrc.d/*.sh; do
[[ -r $i ]] && source "$i"
done
unset i
alias cd="z"
alias gg="git log --oneline --abbrev-commit --all --graph --decorate --color"
alias l="lsd -la"
alias ll="lsd -l"
alias ls="lsd"
alias neofetch="fastfetch"
shopt -s histappend
shopt -s extglob
shopt -s globstar
shopt -s checkjobs
GPG_TTY="$(tty)"
export GPG_TTY
HISTFILESIZE=100000
HISTSIZE=10000
PS1="\u@\h:\w$"
GUIX_PROFILE="/home/andromeda/.config/guix/current"
. "$GUIX_PROFILE/etc/profile"
unset GUIX_PROFILE
eval "$(zoxide init bash)"
|