diff options
Diffstat (limited to 'src/guix-config/.bashrc')
-rw-r--r-- | src/guix-config/.bashrc | 83 |
1 files changed, 0 insertions, 83 deletions
diff --git a/src/guix-config/.bashrc b/src/guix-config/.bashrc deleted file mode 100644 index 984de87..0000000 --- a/src/guix-config/.bashrc +++ /dev/null @@ -1,83 +0,0 @@ -alias c="clear" -alias cp="cp -i" -alias grep="grep --color=auto" -alias ll="ls -l" -alias ls="ls -p --color=auto" -alias mkd="mkdir -pv" -alias mv="mv -i" -alias rm="rm -i" -alias vi="vim" -alias ytta="yt-dlp --paths /home/bdunahu/Media/Audio --extract-audio --format bestaudio/best" -alias yttv="yt-dlp --paths /home/bdunahu/Media/Videos -f b" -# 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. -[ -f /etc/bashrc ] && source /etc/bashrc - -alias ls='ls -p --color=auto' -alias ll='ls -l' -alias grep='grep --color=auto' -alias ip='ip -color=auto' -# 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 definitions. -# You may want to put all your additions into a separate file like -# ~/.bash_aliases, instead of adding them here directly. -# See /usr/share/doc/bash-doc/examples in the bash-doc package. - -if [ -f ~/.bash_aliases ]; then - . ~/.bash_aliases -fi - -# enable ssh-agent on startup -eval 'ssh-agent' &> /dev/null - -# scripts folder to path -export PATH=$HOME/Personal/scripts/:$PATH - -# fixes some errors with Anaconda3 and URxvt -export TERMINFO=/usr/share/terminfo - |