diff options
| author | Jacob McDonnell <jacob@jacobmcdonnell.com> | 2025-05-06 17:42:48 -0400 |
|---|---|---|
| committer | Jacob McDonnell <jacob@jacobmcdonnell.com> | 2025-05-06 17:42:48 -0400 |
| commit | f2fc0ce4c59dd6a08fdb46b856cf337c3f8bf9f5 (patch) | |
| tree | 6c1b961eb16ef89549b9e861d3e9a62bce5695ca | |
| parent | c01fc6baa645d437734b0f7fc4da67c46b6279cd (diff) | |
Fixed some issues
| -rw-r--r-- | .config/.profile | 2 | ||||
| -rwxr-xr-x | dev-env | 4 | ||||
| -rwxr-xr-x | runs/programs | 3 | ||||
| -rwxr-xr-x | util | 12 |
4 files changed, 9 insertions, 12 deletions
diff --git a/.config/.profile b/.config/.profile index 6cffacf..9f9c102 100644 --- a/.config/.profile +++ b/.config/.profile @@ -1,5 +1,5 @@ export PLAN9=$HOME/personal/plan9 -export PATH=~/personal/bin:~/.local/bin:$PATH:$HOME/go/bin:$PLAN9/bin +export PATH=/opt/MaXX/bin:/usr/dt/bin:~/personal/bin:~/.local/bin:$PATH:$HOME/go/bin:$PLAN9/bin export EDITOR=nvim export HOMEBREW_EDITOR=nvim @@ -23,8 +23,8 @@ for script in $scripts; do done log "Copying Configs" -copy_dir .config $HOME/.config -copy_dir .emacs.d $HOME/.emacs.d +copy_dir .config $HOME +copy_dir .emacs.d $HOME copy_file ".config/.profile" $HOME copy_file ".config/shells/zsh/.zshrc" $HOME diff --git a/runs/programs b/runs/programs index ac5198f..78e1003 100755 --- a/runs/programs +++ b/runs/programs @@ -1,3 +1,4 @@ #!/bin/sh -sudo apt install git tmux zsh golang fzf -y +sudo apt install build-essential gdb clangd git tmux zsh golang fzf -y + @@ -23,14 +23,10 @@ execute() { copy_dir() { from=$1 to=$2 - pushd $from - dirs="$(find . -maxdepth 1 -mindepth 1 -type d)" - for dir in $dirs; do - log "Copying $dir" - execute rm -rf $to/$dir - execute cp -r $dir $to/$dir - done - popd + name=$(basename $from) + + execute rm -rf $to/$name + execute cp -r $from $to/$name } copy_file() { |
