aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2020-11-29 02:11:31 -0300
committerEuAndreh <eu@euandre.org>2020-11-29 02:11:31 -0300
commit5acf599395ef8249c0edf3c0e99a32bb340ddadc (patch)
tree7180cb79acf3729633d4782225bc840ee106846b
parentci-build.sh: Update path to $LOGFILE (diff)
downloadtoph-5acf599395ef8249c0edf3c0e99a32bb340ddadc.tar.gz
toph-5acf599395ef8249c0edf3c0e99a32bb340ddadc.tar.xz
Remove .bashrc
-rw-r--r--TODOs.org4
-rw-r--r--sync/.bashrc34
2 files changed, 4 insertions, 34 deletions
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 '