aboutsummaryrefslogtreecommitdiff
path: root/bash
diff options
context:
space:
mode:
Diffstat (limited to 'bash')
-rw-r--r--bash/.bash/00-global.bash2
-rw-r--r--bash/.bash/01-aliases.bash6
-rw-r--r--bash/.bash/02-prompt.bash2
-rw-r--r--bash/.bash/03-boot.bash2
-rw-r--r--bash/.bash/04-other.bash2
-rw-r--r--bash/.bash_profile2
-rw-r--r--bash/.bashrc6
7 files changed, 14 insertions, 8 deletions
diff --git a/bash/.bash/00-global.bash b/bash/.bash/00-global.bash
index 5ad99f7..1700755 100644
--- a/bash/.bash/00-global.bash
+++ b/bash/.bash/00-global.bash
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
#
# 00-global.bash
# define global bash things
diff --git a/bash/.bash/01-aliases.bash b/bash/.bash/01-aliases.bash
index a3818cf..b0d4060 100644
--- a/bash/.bash/01-aliases.bash
+++ b/bash/.bash/01-aliases.bash
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
#
# 01-aliases.bash
# bryson's bash aliases
@@ -63,11 +63,11 @@ alias nolibrary='xrandr --output HDMI-A-0 --off --output eDP --auto'
# bash navigation
alias add-alias='vim ~/.bash/01-aliases.bash; . ~/.bash_profile'
-function search() {
+search() {
find . -type f -exec grep ${1} {} \;
}
-function ssh-pixel() {
+sshpixel() {
ssh -p 8022 uO_14O@${1}
}
diff --git a/bash/.bash/02-prompt.bash b/bash/.bash/02-prompt.bash
index 62f835a..603b292 100644
--- a/bash/.bash/02-prompt.bash
+++ b/bash/.bash/02-prompt.bash
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
#
# 02-prompt.bash
# bryson's gnarly bash prompt config
diff --git a/bash/.bash/03-boot.bash b/bash/.bash/03-boot.bash
index 6ea2c9d..c821a28 100644
--- a/bash/.bash/03-boot.bash
+++ b/bash/.bash/03-boot.bash
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
#
# 03-boot.bash
# startup scripts for systems
diff --git a/bash/.bash/04-other.bash b/bash/.bash/04-other.bash
index ac59c89..ec258e1 100644
--- a/bash/.bash/04-other.bash
+++ b/bash/.bash/04-other.bash
@@ -1,3 +1,5 @@
+#!/bin/bash
+
# if [[ -z $TMUX ]] && [[ -n $SSH_TTY ]]; then
# exec tmux new-session -A -s ssh
# fi
diff --git a/bash/.bash_profile b/bash/.bash_profile
index 7ec459d..c5cb988 100644
--- a/bash/.bash_profile
+++ b/bash/.bash_profile
@@ -1,3 +1,4 @@
+#!/bin/bash
# .bash_profile
PATH=$PATH:$HOME/.local/bin:$HOME/bin:$HOME/.cargo/bin
@@ -13,4 +14,5 @@ fi
export PATH
complete -cf doas
export PATH=$PATH:/home/bryson/.spicetify
+export EDITOR=/usr/bin/vim
#source "/home/bryson/git/emsdk/emsdk_env.sh"
diff --git a/bash/.bashrc b/bash/.bashrc
index c267237..3187d52 100644
--- a/bash/.bashrc
+++ b/bash/.bashrc
@@ -1,6 +1,8 @@
+#!/bin/bash
+
# get custom bash scripts
-if [[ -d ~/.bash/ ]]; then
- for f in ~/.bash/*; do source $f; done
+if [ -d ~/.bash/ ]; then
+ for f in ~/.bash/*; do . $f; done
fi
# install asdf