diff options
author | David Luevano Alvarado <55825613+luevano@users.noreply.github.com> | 2020-12-08 01:23:12 -0700 |
---|---|---|
committer | David Luevano Alvarado <55825613+luevano@users.noreply.github.com> | 2020-12-08 01:23:12 -0700 |
commit | 262f2aaee60dccac99e2548f4481b8f0a70e6f70 (patch) | |
tree | d102e23ff33ab30d61e771e8a837943583f4f710 | |
parent | 27568194632b55057195bce01b622005abea9dc6 (diff) |
Standarization and preparation for cleaning ~
-rw-r--r-- | .Xresources | 3 | ||||
-rw-r--r-- | .bash_profile | 14 | ||||
-rw-r--r-- | .bashrc | 6 | ||||
-rw-r--r-- | .config/zsh/.zshenv | 2 | ||||
-rw-r--r-- | .config/zsh/.zshrc | 2 | ||||
-rw-r--r-- | .profile | 5 | ||||
-rw-r--r-- | .xinitrc | 4 | ||||
-rw-r--r-- | .xprofile | 2 |
8 files changed, 12 insertions, 26 deletions
diff --git a/.Xresources b/.Xresources index 40f1ebd..38bef75 100644 --- a/.Xresources +++ b/.Xresources @@ -1,7 +1,4 @@ -!! -!! ~/.Xresources !! Dracula Xresources palette - *.foreground: #F8F8F2 *.background: #282A36 *.selforeground: #000000 diff --git a/.bash_profile b/.bash_profile index 2c51184..de1c697 100644 --- a/.bash_profile +++ b/.bash_profile @@ -1,11 +1,9 @@ #!/bin/sh -# ~/.bash_profile -# -## This only is read by bash when it is a login shell, -# not an interactive one (lightdm, for example). So -# .profile has to be sourced (as well as .bashrc). See: -# https://unix.stackexchange.com/questions/88106/why-doesnt-my-bash-profile-work. +# This only is read by bash when it is a login shell, not an interactive +# one (lightdm, for example). +# So '.profile' has to be sourced (as well as .bashrc). +# See: https://unix.stackexchange.com/questions/88106/why-doesnt-my-bash-profile-work -[[ -f ~/.profile ]] && . ~/.profile -[[ -f ~/.bashrc ]] && . ~/.bashrc +[ -f $HOME/.profile ] && . $HOME/.profile +[ -f $HOME/.bashrc ] && . $HOME/.bashrc @@ -1,8 +1,6 @@ #!/bin/sh -# ~/.bashrc -# # If not running interactively, don't do anything -[[ $- != *i* ]] && return +[ $- != *i* ] && return -PS1='[\u@\h \w]\$ ' +PS1="[\u@\h \w]\$ " diff --git a/.config/zsh/.zshenv b/.config/zsh/.zshenv index bd8c365..1c3d80c 100644 --- a/.config/zsh/.zshenv +++ b/.config/zsh/.zshenv @@ -1,5 +1,5 @@ #!/bin/zsh -# ~/.config/zsh/.zshenv + # As suggested by https://vi.stackexchange.com/questions/7644/use-vim-with-virtualenv/7654#7654 if [[ -n $VIRTUAL_ENV && -e "${VIRTUAL_ENV}/bin/activate" ]]; then diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc index 83b69c8..bf67916 100644 --- a/.config/zsh/.zshrc +++ b/.config/zsh/.zshrc @@ -1,6 +1,4 @@ #!/bin/zsh -# $ZDOTDIR/.zshrc -# # PS1 colors and style. autoload -U colors && colors @@ -1,6 +1,5 @@ #!/bin/sh -# ~/.profile -# + ##--Environment variables--## ## Modified env vars. export PATH="$PATH:$(du -L "$HOME/.local/bin/" | cut -f2 | tr '\n' ':' | sed 's/:*$//')" @@ -8,7 +7,7 @@ export PATH="$PATH:$(du -L "$HOME/.local/bin/" | cut -f2 | tr '\n' ':' | sed 's/ ## Default programs. export EDITOR="nvim" export TERMINAL="alacritty" -export BROWSER="google-chrome-stable" +export BROWSER="firefox" export READER="zathura" export FILE="ranger" export STATUSBAR="i3blocks" @@ -1,9 +1,7 @@ #!/bin/sh -# ~/.xinitrc -# # This is run when 'startx' or 'xinit' is executed, # but since display managers use ~/.xprofile instead, # .xprofile is sourced to be compatible with both. -[[ -f ~/.xprofile ]] && . ~/.xprofile +[ -f $HOME/.xprofile ] && . $HOME/.xprofile @@ -1,6 +1,4 @@ #!/bin/sh -# ~/.xprofile -# # This is run when a display manager logs in. # Used as source for ~/.xinitrc. |