Updating and moving repo.

This commit is contained in:
Shaun Setlock
2022-01-03 22:00:26 -05:00
parent 61868ff924
commit 2a6b42c411
3 changed files with 18 additions and 7 deletions

View File

@@ -3,8 +3,7 @@ alias server_syncthing_webui="ssh -L 9000:127.0.0.1:8384 shaun@SETLOCK-SERVER"
alias git-auto-push-master="git add -A && git commit -m \"Automatic commit performed through alias...\" && git pull origin master && git push origin master"
alias git-add-commit="git add -A && git commit -m \"Automatic commit performed through alias...\""
alias airpods="bluetoothctl connect B8:B2:F8:29:11:CD"
alias activate_venv="source venv/bin/activate"
alias bpytop="python3 /opt/bpytop"
#alias bpytop="python3 /opt/bpytop"
# Tpyical Stuff
alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]\s*alert$//'\'')"'

20
.bashrc
View File

@@ -30,6 +30,16 @@ shopt -s checkwinsize
# make less more friendly for non-text input files, see lesspipe(1)
[ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)"
# Powerline configuration
if [ -f /usr/share/powerline/bindings/bash/powerline.sh ]; then
powerline-daemon -q
POWERLINE_BASH_CONTINUATION=1
POWERLINE_BASH_SELECT=1
source /usr/share/powerline/bindings/bash/powerline.sh
fi
# set variable identifying the chroot you work in (used in the prompt below)
if [ -z "${debian_chroot:-}" ] && [ -r /etc/debian_chroot ]; then
debian_chroot=$(cat /etc/debian_chroot)
@@ -40,15 +50,15 @@ case "$TERM" in
xterm-color|*-256color) color_prompt=yes;;
esac
# include the git branch in the prompt
git_branch() {
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1)/'
}
## include the git branch in the prompt
#git_branch() {
# git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1)/'
#}
# uncomment for a colored prompt, if the terminal has the capability; turned
# off by default to not distract the user: the focus in a terminal window
# should be on the output of commands, not on the prompt
#force_color_prompt=yes
force_color_prompt=yes
if [ -n "$force_color_prompt" ]; then
if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then

2
.nanorc Normal file
View File

@@ -0,0 +1,2 @@
set tabsize 4
set tabstospaces