summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorToby Vincent <tobyv13@gmail.com>2021-05-16 18:20:35 -0500
committerToby Vincent <tobyv13@gmail.com>2021-05-16 18:20:35 -0500
commit7f5ce770c921f538f4ef15036412cf619ded8cc0 (patch)
treee3966af90c1e97596b685313f8291a269f24287d
parente0b9f01a791898404e05d8fcc3d8c9af74fde107 (diff)
feat: added shebang to all shell files
-rw-r--r--bashrc2
-rw-r--r--p10k.zsh2
-rw-r--r--sh/aliases.sh2
-rwxr-xr-xsh/gpg.sh2
-rw-r--r--sh/profile.sh2
-rw-r--r--sh/wsl.sh2
-rw-r--r--zsh/aliases.zsh2
-rw-r--r--zsh/keybindings.zsh2
-rw-r--r--zsh/prompt.zsh2
-rw-r--r--zsh/setopt.zsh2
-rw-r--r--zsh/wsl.zsh2
-rw-r--r--zshrc2
12 files changed, 24 insertions, 0 deletions
diff --git a/bashrc b/bashrc
index 29c408e..ca14ee6 100644
--- a/bashrc
+++ b/bashrc
@@ -1,3 +1,5 @@
+#!/usr/bin/env bash
+
source "${DOTFILES:="${HOME}/dotfiles"}/sh/profile.sh"
source $DOTFILES/sh/aliases.sh
diff --git a/p10k.zsh b/p10k.zsh
index 8ab2bf4..d1966cc 100644
--- a/p10k.zsh
+++ b/p10k.zsh
@@ -1,3 +1,5 @@
+#!/usr/bin/env zsh
+
# Generated by Powerlevel10k configuration wizard on 2021-03-02 at 22:24 CST.
# Based on romkatv/powerlevel10k/config/p10k-lean.zsh, checksum 09871.
# Wizard options: powerline, unicode, lean, 2 lines, solid, no frame, light-ornaments,
diff --git a/sh/aliases.sh b/sh/aliases.sh
index 6505a39..d72a652 100644
--- a/sh/aliases.sh
+++ b/sh/aliases.sh
@@ -1,3 +1,5 @@
+#!/usr/bin/env bash
+
# Aliases
alias update="sudo apt update && apt list --upgradable"
alias upgrade="sudo apt upgrade -y"
diff --git a/sh/gpg.sh b/sh/gpg.sh
index 1909fad..c223695 100755
--- a/sh/gpg.sh
+++ b/sh/gpg.sh
@@ -1,3 +1,5 @@
+#!/usr/bin/env bash
+
# https://github.com/benpye/wsl-ssh-pageant
# https://github.com/drduh/YubiKey-Guide#remote-host-configuration
# https://dev.to/dzerycz/series/11353
diff --git a/sh/profile.sh b/sh/profile.sh
index bde5867..1d0022f 100644
--- a/sh/profile.sh
+++ b/sh/profile.sh
@@ -1,3 +1,5 @@
+#!/usr/bin/env bash
+
# Path
PATH=$PATH:$HOME/.local/bin:$HOME/.dotnet/tools:$HOME/.cargo/bin
diff --git a/sh/wsl.sh b/sh/wsl.sh
index be64618..b924849 100644
--- a/sh/wsl.sh
+++ b/sh/wsl.sh
@@ -1,3 +1,5 @@
+#!/usr/bin/env bash
+
export EDITOR="code --wait"
alias cb=clip.exe
diff --git a/zsh/aliases.zsh b/zsh/aliases.zsh
index 05f1e86..880489d 100644
--- a/zsh/aliases.zsh
+++ b/zsh/aliases.zsh
@@ -1 +1,3 @@
+#!/usr/bin/env zsh
+
source "${DOTFILES:="${HOME}/dotfiles"}/sh/aliases.sh" \ No newline at end of file
diff --git a/zsh/keybindings.zsh b/zsh/keybindings.zsh
index 3b80098..ef49f55 100644
--- a/zsh/keybindings.zsh
+++ b/zsh/keybindings.zsh
@@ -1,3 +1,5 @@
+#!/usr/bin/env zsh
+
function r-delregion() {
if ((REGION_ACTIVE)) then
zle kill-region
diff --git a/zsh/prompt.zsh b/zsh/prompt.zsh
index 1ac04cf..4298c70 100644
--- a/zsh/prompt.zsh
+++ b/zsh/prompt.zsh
@@ -1,3 +1,5 @@
+#!/usr/bin/env zsh
+
function set_title() {
folder=$(sed "s/$USER/~/g" <<<$PWD:t)
diff --git a/zsh/setopt.zsh b/zsh/setopt.zsh
index f862bab..8c173e5 100644
--- a/zsh/setopt.zsh
+++ b/zsh/setopt.zsh
@@ -1,3 +1,5 @@
+#!/usr/bin/env zsh
+
typeset -A ZSH_HIGHLIGHT_STYLES
ZSH_HIGHLIGHT_STYLES[path]='fg=cyan'
HYPHEN_INSENSITIVE="true"
diff --git a/zsh/wsl.zsh b/zsh/wsl.zsh
index a1e091d..ac0d741 100644
--- a/zsh/wsl.zsh
+++ b/zsh/wsl.zsh
@@ -1,3 +1,5 @@
+#!/usr/bin/env zsh
+
source "${DOTFILES:-"${HOME}/dotfiles"}/sh/wsl.sh"
source "${DOTFILES:-"${HOME}/dotfiles"}/sh/gpg.sh"
diff --git a/zshrc b/zshrc
index 317c5ad..a210d19 100644
--- a/zshrc
+++ b/zshrc
@@ -1,3 +1,5 @@
+#!/usr/bin/env zsh
+
source "${DOTFILES:="${HOME}/dotfiles"}/sh/profile.sh"
# Directory hashtable