summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Luevano <55825613+luevano@users.noreply.github.com>2020-02-11 18:23:54 -0700
committerDavid Luevano <55825613+luevano@users.noreply.github.com>2020-02-11 18:23:54 -0700
commite0a12bdbde3d66ac53c4fa16f51f299066928ed3 (patch)
tree24428aa2817ddb13a0c1d8e883b8fd62b23364c8
parent8c843ccb4185d492633c41c240347c1520484d53 (diff)
Add ~/.local/bin/ to path
-rw-r--r--.config/zsh/.zshrc4
-rw-r--r--.profile6
2 files changed, 4 insertions, 6 deletions
diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc
index 12415dc..2ac0cd5 100644
--- a/.config/zsh/.zshrc
+++ b/.config/zsh/.zshrc
@@ -27,9 +27,5 @@ compinit
# Include hidden files in autocomplete.
_comp_options+=(globdots)
-# Prompt themes.
-# autoload -Uz promptinit
-# promptinit
-
# Add syntax highlighting.
. /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
diff --git a/.profile b/.profile
index 5276e29..c48c2c5 100644
--- a/.profile
+++ b/.profile
@@ -1,9 +1,11 @@
#!/bin/sh
# ~/.profile
#
-
##--Environment variables--##
- ## Default programs.
+ ## Modified env vars.
+export PATH="$PATH:$(du -L "$HOME/.local/bin/ | cut -f2 | tr '\n' ';' | sed 's/:*$//')"
+
+ ## Default program.
export EDITOR="nvim"
export VISUAL="nvim"
export VISUAL_EDITOR="nvim"