From e0a12bdbde3d66ac53c4fa16f51f299066928ed3 Mon Sep 17 00:00:00 2001 From: David Luevano <55825613+luevano@users.noreply.github.com> Date: Tue, 11 Feb 2020 18:23:54 -0700 Subject: Add ~/.local/bin/ to path --- .config/zsh/.zshrc | 4 ---- .profile | 6 ++++-- 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" -- cgit v1.2.3-70-g09d2