source: dotfiles/guix/home/.bashrc@ 20d7d4d

Last change on this file since 20d7d4d was 20d7d4d, checked in by Mikhail Kirillov <w96k@…>, on Jul 31, 2024 at 3:42:56 AM

Add basic guix home config

  • Property mode set to 100644
File size: 820 bytes
Line 
1# Bash initialization for interactive non-login shells and
2# for remote shells (info "(bash) Bash Startup Files").
3
4# Export 'SHELL' to child processes. Programs such as 'screen'
5# honor it and otherwise use /bin/sh.
6export SHELL
7
8export GUIX_PACKAGE_PATH=$HOME/.guix-packages
9export GUIX_EXTRA_PROFILES=$HOME/.guix-extra-profiles
10
11if [[ $- != *i* ]]
12then
13 # We are being invoked from a non-interactive shell. If this
14 # is an SSH session (as in "ssh host command"), source
15 # /etc/profile so we get PATH and other essential variables.
16 [[ -n "$SSH_CLIENT" ]] && source /etc/profile
17
18 # Don't do anything else.
19 return
20fi
21
22# Source the system-wide file.
23[ -f /etc/bashrc ] && source /etc/bashrc
24
25alias ls='ls -p --color=auto'
26alias ll='ls -l'
27alias grep='grep --color=auto'
28alias ip='ip -color=auto'
Note: See TracBrowser for help on using the repository browser.