diff options
author | Toby Vincent <tobyv13@gmail.com> | 2021-05-16 18:20:35 -0500 |
---|---|---|
committer | Toby Vincent <tobyv13@gmail.com> | 2021-05-16 18:20:35 -0500 |
commit | 7f5ce770c921f538f4ef15036412cf619ded8cc0 (patch) | |
tree | e3966af90c1e97596b685313f8291a269f24287d | |
parent | e0b9f01a791898404e05d8fcc3d8c9af74fde107 (diff) |
feat: added shebang to all shell files
-rw-r--r-- | bashrc | 2 | ||||
-rw-r--r-- | p10k.zsh | 2 | ||||
-rw-r--r-- | sh/aliases.sh | 2 | ||||
-rwxr-xr-x | sh/gpg.sh | 2 | ||||
-rw-r--r-- | sh/profile.sh | 2 | ||||
-rw-r--r-- | sh/wsl.sh | 2 | ||||
-rw-r--r-- | zsh/aliases.zsh | 2 | ||||
-rw-r--r-- | zsh/keybindings.zsh | 2 | ||||
-rw-r--r-- | zsh/prompt.zsh | 2 | ||||
-rw-r--r-- | zsh/setopt.zsh | 2 | ||||
-rw-r--r-- | zsh/wsl.zsh | 2 | ||||
-rw-r--r-- | zshrc | 2 |
12 files changed, 24 insertions, 0 deletions
@@ -1,3 +1,5 @@ +#!/usr/bin/env bash + source "${DOTFILES:="${HOME}/dotfiles"}/sh/profile.sh" source $DOTFILES/sh/aliases.sh @@ -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" @@ -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 @@ -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" @@ -1,3 +1,5 @@ +#!/usr/bin/env zsh + source "${DOTFILES:="${HOME}/dotfiles"}/sh/profile.sh" # Directory hashtable |