Skip to content

Commit

Permalink
new mac new me
Browse files Browse the repository at this point in the history
  • Loading branch information
DivineGod committed Nov 22, 2024
1 parent 2945b1b commit 3d26c04
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 48 deletions.
3 changes: 0 additions & 3 deletions Brewfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
tap "armmbed/formulae"
tap "homebrew/bundle"
tap "homebrew/cask"
tap "homebrew/cask-fonts"
tap "homebrew/core"
tap "homebrew/services"
tap "osx-cross/avr"
tap "qmk/qmk"
Expand Down
16 changes: 5 additions & 11 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
FISH := $(shell fish --version 2>/dev/null)
BREW := $(shell brew --version 2>/dev/null)
CLI_TOOLS := $(xcode-select --install 2>&1 | grep installed;)
RUSTUP := $(shell rustup --version 2>/dev/null)
Expand All @@ -9,9 +10,6 @@ stow:
stow fish
stow git
stow alacritty
stow vim
stow nvim
stow tmux
stow bat

install:
Expand All @@ -28,15 +26,11 @@ endif
ifndef BREW
echo "Homebrew isn't installed... Installing"
/bin/bash -c "$$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
echo >> /Users/dg/.zprofile
echo 'eval "$$(/opt/homebrew/bin/brew shellenv)"' >> /Users/dg/.zprofile
eval "$$(/opt/homebrew/bin/brew shellenv)"
else
endif

brew bundle
/opt/homebrew/bin/brew bundle
make stow

curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim

ifeq ($(wildcard ~/.tmux/plugins/tpm/.),)
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
endif
22 changes: 5 additions & 17 deletions fish/.config/fish/config.fish
Original file line number Diff line number Diff line change
@@ -1,19 +1,7 @@
set -g fish_key_bindings fish_vi_key_bindings

set -g fish_user_paths "/usr/local/sbin" $fish_user_paths
fish_add_path "$HOME/.cargo/bin"
fish_add_path "$HOME/.poetry/bin"
fish_add_path "$HOME/go/bin"
fish_add_path "$HOME/.local/bin"
fish_add_path "$HOME/Luxonis/depthai/entrypoint"

if status --is-interactive
set -x EDITOR "hx"
eval (/opt/homebrew/bin/brew shellenv)
atuin init fish | source
if status is-interactive
# Commands to run in interactive sessions can go here
fish_vi_key_bindings
atuin init fish | source
end

direnv hook fish | source

status is-login; and pyenv init --path | source
status is-interactive; and pyenv init - | source
eval "$(/opt/homebrew/bin/brew shellenv)"
29 changes: 12 additions & 17 deletions fish/.config/fish/fish_variables
Original file line number Diff line number Diff line change
@@ -1,36 +1,31 @@
# This file contains fish universal variable definitions.
# VERSION: 3.0
SETUVAR --export PYENV_ROOT:/Users/dg/\x2epyenv
SETUVAR __fish_initialized:3400
SETUVAR _fisher_plugins:jorgebucaran/fisher\x1ejorgebucaran/nvm\x2efish
SETUVAR fish_color_autosuggestion:cc99cc
SETUVAR fish_color_autosuggestion:brblack
SETUVAR fish_color_cancel:\x2dr
SETUVAR fish_color_command:99cc99
SETUVAR fish_color_comment:ffcc66
SETUVAR fish_color_command:blue
SETUVAR fish_color_comment:red
SETUVAR fish_color_cwd:green
SETUVAR fish_color_cwd_root:red
SETUVAR fish_color_end:cc99cc
SETUVAR fish_color_error:f2777a
SETUVAR fish_color_escape:66cccc
SETUVAR fish_color_end:green
SETUVAR fish_color_error:brred
SETUVAR fish_color_escape:brcyan
SETUVAR fish_color_history_current:\x2d\x2dbold
SETUVAR fish_color_host:normal
SETUVAR fish_color_host_remote:yellow
SETUVAR fish_color_match:6699cc
SETUVAR fish_color_normal:normal
SETUVAR fish_color_operator:6699cc
SETUVAR fish_color_param:d3d0c8
SETUVAR fish_color_quote:ffcc66
SETUVAR fish_color_redirection:d3d0c8
SETUVAR fish_color_operator:brcyan
SETUVAR fish_color_param:cyan
SETUVAR fish_color_quote:yellow
SETUVAR fish_color_redirection:cyan\x1e\x2d\x2dbold
SETUVAR fish_color_search_match:bryellow\x1e\x2d\x2dbackground\x3dbrblack
SETUVAR fish_color_selection:white\x1e\x2d\x2dbold\x1e\x2d\x2dbackground\x3dbrblack
SETUVAR fish_color_status:red
SETUVAR fish_color_user:brgreen
SETUVAR fish_color_valid_path:\x2d\x2dunderline
SETUVAR fish_key_bindings:fish_vi_key_bindings
SETUVAR fish_pager_color_completion:normal
SETUVAR fish_pager_color_description:B3A06D\x1eyellow
SETUVAR fish_pager_color_description:yellow\x1e\x2di
SETUVAR fish_pager_color_prefix:normal\x1e\x2d\x2dbold\x1e\x2d\x2dunderline
SETUVAR fish_pager_color_progress:brwhite\x1e\x2d\x2dbackground\x3dcyan
SETUVAR fish_pager_color_selected_background:\x2dr
SETUVAR fish_user_paths:/Users/dg/\x2epyenv/bin\x1e/usr/local/sbin\x1e/Users/dg/go/bin\x1e/Users/dg/\x2epoetry/bin\x1e/Users/dg/\x2ecargo/bin
SETUVAR nvm_data:/Users/dg/\x2elocal/share/nvm
SETUVAR nvm_mirror:https\x3a//nodejs\x2eorg/dist

0 comments on commit 3d26c04

Please sign in to comment.