Mercurial > hg > cc > cirrus_home
diff .bashrc @ 112:bcea0410143c
(none)
author | Henry S. Thompson <ht@inf.ed.ac.uk> |
---|---|
date | Mon, 26 Apr 2021 17:17:38 +0000 |
parents | 8fb11e337e23 |
children | 9de06ae73372 |
line wrap: on
line diff
--- a/.bashrc Mon Apr 26 15:28:23 2021 +0000 +++ b/.bashrc Mon Apr 26 17:17:38 2021 +0000 @@ -1,10 +1,12 @@ # .bashrc +export G=${HOME}/gentoo # Uncomment the following line if you don't like systemctl's auto-paging feature: # export SYSTEMD_PAGER= if [ $SHELL = "/bin/bash" ] then + # Vanilla Cirrus login # Source global definitions if [ -f /etc/bashrc ]; then . /etc/bashrc @@ -26,6 +28,7 @@ fi module load gcc # assumed by Prefix + module load gnu-parallel export PYTHONPATH=$HOME/lib/python3.6/site-packages @@ -40,7 +43,9 @@ export JAVA_HOME=$HOME/lib/openjdk-8u252-b09 export PATH=${PATH}:${ANT_HOME}/bin:${MAVEN_HOME}/bin + EDITOR=emacs else + # gentoo if [ "$PS1" ]; then echo "~/.bashrc inside gentoo" 1>&2 PS1='\[\e[1;32m\]\h\[\e[0m\]<\!>: ' @@ -57,6 +62,7 @@ xrdb $HOME/.Xresources fi fi + EDITOR=xemacs fi # User specific aliases and functions @@ -89,7 +95,7 @@ ' } -function uz () { unpigz -dp 1 -c "$@" ; } +function uz () { $G/usr/bin/igzip -dc "$@" ; } function typecat () { @@ -103,6 +109,5 @@ #export HISTSIZE=3000 PATH=$PATH:$HOME/.local/bin:$HOME/bin -EDITOR=emacs -export PATH EDITOR PS1 +export PATH EDITOR PS1 G