From 5acf599395ef8249c0edf3c0e99a32bb340ddadc Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Sun, 29 Nov 2020 02:11:31 -0300 Subject: Remove .bashrc --- TODOs.org | 4 ++++ sync/.bashrc | 34 ---------------------------------- 2 files changed, 4 insertions(+), 34 deletions(-) delete mode 100644 sync/.bashrc diff --git a/TODOs.org b/TODOs.org index 2583cf1..5cf0d0e 100644 --- a/TODOs.org +++ b/TODOs.org @@ -39,6 +39,10 @@ re-creating everything from scratch. - http://rkhunter.sourceforge.net/ ** TODO Security review https://cheatsheetseries.owasp.org/Glossary.html +** TODO Build new Guix image and document the steps +- State "TODO" from [2020-11-29 dim. 02:10] + +Instead of syncing the =.bashrc= file, I should put my aliases in the base image. * Bugs :PROPERTIES: :CUSTOM_ID: bugs diff --git a/sync/.bashrc b/sync/.bashrc deleted file mode 100644 index 2717b0c..0000000 --- a/sync/.bashrc +++ /dev/null @@ -1,34 +0,0 @@ -# Bash initialization for interactive non-login shells and -# for remote shells (info "(bash) Bash Startup Files"). - -# 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. - return -fi - -# Source the system-wide file. -source /etc/bashrc - -# Adjust the prompt depending on whether we're in 'guix environment'. -if [ -n "$GUIX_ENVIRONMENT" ] -then - PS1='\u@\h \w [env]\$ ' -else - PS1='\u@\h \w\$ ' -fi -alias ls='ls -p --color=auto' -alias ll='ls -l' -alias grep='grep --color=auto' -alias l='ls -lahF' -# https://linuxhandbook.com/run-alias-as-sudo/ -alias sudo='sudo ' -- cgit v1.2.3