From df34ca588a01eff4a53782743d07d6726aa7e35d Mon Sep 17 00:00:00 2001 From: Vasili Svirydau Date: Fri, 29 Jan 2021 16:00:30 -0800 Subject: [PATCH] . --- bash.d/10-no-at-bridge.sh | 3 +++ bash.d/10-paths.sh | 4 ++++ bash.d/10-prompt.sh | 6 ++++-- bash.d/20-gitignoreio.sh | 5 +++++ dotfiles/.tmux.conf | 4 ++-- 5 files changed, 18 insertions(+), 4 deletions(-) create mode 100644 bash.d/10-no-at-bridge.sh create mode 100644 bash.d/20-gitignoreio.sh diff --git a/bash.d/10-no-at-bridge.sh b/bash.d/10-no-at-bridge.sh new file mode 100644 index 0000000..1762634 --- /dev/null +++ b/bash.d/10-no-at-bridge.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +export NO_AT_BRIDGE=1 diff --git a/bash.d/10-paths.sh b/bash.d/10-paths.sh index 0384970..a762b44 100644 --- a/bash.d/10-paths.sh +++ b/bash.d/10-paths.sh @@ -5,3 +5,7 @@ export PATH="./node_modules/.bin:$PATH" if [ -e "$HOME/.cargo/bin" ]; then export PATH="$HOME/.cargo/bin:$PATH" fi + +if [ -e "$HOME/.bin" ]; then + export PATH="$HOME/.bin:$PATH" +fi diff --git a/bash.d/10-prompt.sh b/bash.d/10-prompt.sh index 78756c2..de0f869 100644 --- a/bash.d/10-prompt.sh +++ b/bash.d/10-prompt.sh @@ -1,6 +1,8 @@ #!/bin/bash -PROMPT_SUBMODULE="${SUBMODULES}/romkatv-gitstatus" +# PROMPT_SUBMODULE="${SUBMODULES}/romkatv-gitstatus" # shellcheck disable=SC1090 -source "$PROMPT_SUBMODULE/gitstatus.prompt.sh" +# source "$PROMPT_SUBMODULE/gitstatus.prompt.sh" + +eval "$(starship init bash)" diff --git a/bash.d/20-gitignoreio.sh b/bash.d/20-gitignoreio.sh new file mode 100644 index 0000000..4751b63 --- /dev/null +++ b/bash.d/20-gitignoreio.sh @@ -0,0 +1,5 @@ +#!/bin/bash + +function gi() { + curl -sL "https://www.toptal.com/developers/gitignore/api/$*"; +} diff --git a/dotfiles/.tmux.conf b/dotfiles/.tmux.conf index 05eb15b..0e0ca80 100644 --- a/dotfiles/.tmux.conf +++ b/dotfiles/.tmux.conf @@ -27,8 +27,8 @@ bind a send-key C-a set -g xterm-keys on -bind | split-window -h -c "#{pane_current_path}"# split horiz -bind _ split-window -v -c "#{pane_current_path}"# split vert +bind | split-window -h -c "#{pane_current_path}" +bind _ split-window -v -c "#{pane_current_path}" bind A command-prompt "rename-window '%%'"