From 294dedf9db379e9a14d9256245ee231f127ac722 Mon Sep 17 00:00:00 2001 From: Jacob McDonnell Date: Fri, 6 Dec 2024 12:45:08 -0500 Subject: Bug Fixes --- .config/.profile | 26 ++++++++++++++++++++++++++ .config/profile | 26 -------------------------- dev-env | 3 +++ runs/neovim | 2 +- 4 files changed, 30 insertions(+), 27 deletions(-) create mode 100644 .config/.profile delete mode 100644 .config/profile diff --git a/.config/.profile b/.config/.profile new file mode 100644 index 0000000..6cffacf --- /dev/null +++ b/.config/.profile @@ -0,0 +1,26 @@ +export PLAN9=$HOME/personal/plan9 +export PATH=~/personal/bin:~/.local/bin:$PATH:$HOME/go/bin:$PLAN9/bin + +export EDITOR=nvim +export HOMEBREW_EDITOR=nvim + +# Shell settings +export shColor=green +export OS="$(uname -s)" +if [[ $OS == "Darwin" ]]; then + export comSym= + eval "$(/opt/homebrew/bin/brew shellenv)" +elif [[ $OS == "Linux" ]]; then + export comSym=λ +fi + +# Setting up XDG Dirs +export XDG_CONFIG_HOME=$HOME/.config +export XDG_CACHE_HOME=$HOME/.cache +export XDG_DATA_HOME=$HOME/.local/share + +# Moving Folder and Files from ~/ +export LESSHISTFILE=- +export ENV="$XDG_CONFIG_HOME"/shells/ksh/kshrc +export ZDOTDIR="$XDG_CONFIG_HOME"/shells/zsh + diff --git a/.config/profile b/.config/profile deleted file mode 100644 index c9b6ef4..0000000 --- a/.config/profile +++ /dev/null @@ -1,26 +0,0 @@ -eval "$(/opt/homebrew/bin/brew shellenv)" -export PLAN9=$HOME/personal/plan9 -export PATH=~/personal/bin:~/.local/bin:$PATH:$HOME/go/bin:$PLAN9/bin - -export EDITOR=nvim -export HOMEBREW_EDITOR=nvim - -# Shell settings -export shColor=green -export OS="$(uname -s)" -if [[ $OS == "Darwin" ]]; then - export comSym= -elif [[ $OS == "Linux" ]]; then - export comSym=λ -fi - -# Setting up XDG Dirs -export XDG_CONFIG_HOME=$HOME/.config -export XDG_CACHE_HOME=$HOME/.cache -export XDG_DATA_HOME=$HOME/.local/share - -# Moving Folder and Files from ~/ -export LESSHISTFILE=- -export ENV="$XDG_CONFIG_HOME"/shells/ksh/kshrc -export ZDOTDIR="$XDG_CONFIG_HOME"/shells/zsh - diff --git a/dev-env b/dev-env index 081a6e0..cd3f2c8 100755 --- a/dev-env +++ b/dev-env @@ -32,3 +32,6 @@ log "Copying Self to ~/personal/bin" copy_file dev-env $target/bin copy_file util $target/bin +log "Setting Up Symlinks" +execute ln -sf $HOME/.profile $HOME/.zprofile + diff --git a/runs/neovim b/runs/neovim index c00b9b1..3c07832 100755 --- a/runs/neovim +++ b/runs/neovim @@ -5,7 +5,7 @@ source $HOME/personal/dotfiles/util version="v0.10.2" git clone -b $version https://github.com/neovim/neovim.git $target/neovim -#sudo dnf install -y cmake gettext lua lua-libs +sudo dnf install -y cmake gettext lua lua-libs cd $target/neovim make CMAKE_BUILD_TYPE=RelWithDebInfo make CMAKE_INSTALL_PREFIX=$target install -- cgit v1.2.3