mirror of
https://github.com/Feliix42/dotfiles.git
synced 2024-12-04 18:26:30 +00:00
update scripts from fixing errors
This commit is contained in:
parent
f7b82ae95d
commit
d24b4cbd2a
3 changed files with 16 additions and 19 deletions
|
@ -68,11 +68,17 @@ xcode-select --install
|
||||||
if test ! $(which brew); then
|
if test ! $(which brew); then
|
||||||
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
|
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
|
||||||
fi
|
fi
|
||||||
|
echo >> /Users/felix/.zprofile
|
||||||
|
echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> /Users/felix/.zprofile
|
||||||
|
eval "$(/opt/homebrew/bin/brew shellenv)"
|
||||||
|
|
||||||
printf "\033[33m[info] Installing some basic binaries\033[39m"
|
printf "\033[33m[info] Installing some basic binaries\033[39m"
|
||||||
brew install fish
|
brew install fish
|
||||||
sudo echo "/usr/local/bin/fish" >> /etc/shells
|
sudo echo "/opt/homebrew/bin/fish" >> /etc/shells
|
||||||
chsh -s /usr/local/bin/fish
|
chsh -s /opt/homebrew/bin/fish
|
||||||
|
|
||||||
|
# required for Intel applications
|
||||||
|
softwareupdate --install-rosetta --agree-to-license
|
||||||
|
|
||||||
binaries=(
|
binaries=(
|
||||||
pass
|
pass
|
||||||
|
@ -116,7 +122,6 @@ binaries=(
|
||||||
tree
|
tree
|
||||||
tree-sitter
|
tree-sitter
|
||||||
tmux
|
tmux
|
||||||
sigtop
|
|
||||||
ripgrep
|
ripgrep
|
||||||
qrencode
|
qrencode
|
||||||
python
|
python
|
||||||
|
@ -134,7 +139,7 @@ binaries=(
|
||||||
audacity
|
audacity
|
||||||
calibre
|
calibre
|
||||||
discord
|
discord
|
||||||
docker
|
homebrew/cask/docker
|
||||||
dropbox
|
dropbox
|
||||||
firefox@nightly
|
firefox@nightly
|
||||||
font-hack-nerd-font
|
font-hack-nerd-font
|
||||||
|
@ -152,9 +157,9 @@ binaries=(
|
||||||
mactex
|
mactex
|
||||||
magicavoxel
|
magicavoxel
|
||||||
mark-text
|
mark-text
|
||||||
neovide
|
homebrew/cask/neovide
|
||||||
obsidian
|
obsidian
|
||||||
openttd
|
homebrew/cask/openttd
|
||||||
signal
|
signal
|
||||||
spotify
|
spotify
|
||||||
steam
|
steam
|
||||||
|
@ -175,6 +180,8 @@ binaries=(
|
||||||
|
|
||||||
brew install ${binaries[@]}
|
brew install ${binaries[@]}
|
||||||
|
|
||||||
|
brew install --HEAD tbvdm/tap/sigtop
|
||||||
|
|
||||||
|
|
||||||
printf "\033[33m[info] Cloning password store\033[39m"
|
printf "\033[33m[info] Cloning password store\033[39m"
|
||||||
git clone git@code.dummyco.de:feliix42/pass.git ~/.password-store
|
git clone git@code.dummyco.de:feliix42/pass.git ~/.password-store
|
||||||
|
@ -194,7 +201,6 @@ ln -s $PWD/mail/neomutt ~/.config/neomutt
|
||||||
printf "\033[33m[info] Setting up Fish Shell\033[39m"
|
printf "\033[33m[info] Setting up Fish Shell\033[39m"
|
||||||
mkdir -p ~/.config/fish/
|
mkdir -p ~/.config/fish/
|
||||||
ln -s $PWD/terminal/config.fish ~/.config/fish/config.fish
|
ln -s $PWD/terminal/config.fish ~/.config/fish/config.fish
|
||||||
git clone git@github.com:oh-my-fish/plugin-foreign-env.git ~/.config/fish/plugin-foreign-env
|
|
||||||
|
|
||||||
printf "\033[33m[info] Setting up vim\033[39m"
|
printf "\033[33m[info] Setting up vim\033[39m"
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
"fzf.vim": { "branch": "master", "commit": "ec75ffbfd50630bf2b8d444d89487e149bacf7f3" },
|
"fzf.vim": { "branch": "master", "commit": "ec75ffbfd50630bf2b8d444d89487e149bacf7f3" },
|
||||||
"gruvbox-baby": { "branch": "main", "commit": "bd52e62d8134647090108189e69c8b3cd18bdbbf" },
|
"gruvbox-baby": { "branch": "main", "commit": "bd52e62d8134647090108189e69c8b3cd18bdbbf" },
|
||||||
"hledger-vim": { "branch": "master", "commit": "f9b4171f0ce2562dd804305a1ed087eaf6a4f028" },
|
"hledger-vim": { "branch": "master", "commit": "f9b4171f0ce2562dd804305a1ed087eaf6a4f028" },
|
||||||
"lazy.nvim": { "branch": "main", "commit": "1159bdccd8910a0fd0914b24d6c3d186689023d9" },
|
"lazy.nvim": { "branch": "main", "commit": "7967abe55752aa90532e6bb4bd4663fe27a264cb" },
|
||||||
"lualine.nvim": { "branch": "master", "commit": "b431d228b7bbcdaea818bdc3e25b8cdbe861f056" },
|
"lualine.nvim": { "branch": "master", "commit": "b431d228b7bbcdaea818bdc3e25b8cdbe861f056" },
|
||||||
"neoformat": { "branch": "master", "commit": "d9d3311097eacdba9bd7a425b267d304b509e7ea" },
|
"neoformat": { "branch": "master", "commit": "d9d3311097eacdba9bd7a425b267d304b509e7ea" },
|
||||||
"nerdcommenter": { "branch": "master", "commit": "3f860f2d981547c18f2c9599e3c358ea488c3be4" },
|
"nerdcommenter": { "branch": "master", "commit": "3f860f2d981547c18f2c9599e3c358ea488c3be4" },
|
||||||
|
|
|
@ -9,10 +9,9 @@ export LC_NUMERIC="de_DE.UTF-8"
|
||||||
export LC_TIME="de_DE.UTF-8"
|
export LC_TIME="de_DE.UTF-8"
|
||||||
export LC_ALL="en_GB.UTF-8"
|
export LC_ALL="en_GB.UTF-8"
|
||||||
|
|
||||||
export PATH="/usr/local/opt/gnu-tar/libexec/gnubin:/usr/local/opt/gnu-sed/libexec/gnubin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/Library/TeX/texbin:$HOME/.cargo/bin:$HOME/.local/bin:$HOME/Library/Python/3.8/bin"
|
fish_add_path /opt/homebrew/bin
|
||||||
|
#export PATH="/usr/local/opt/gnu-tar/libexec/gnubin:/usr/local/opt/gnu-sed/libexec/gnubin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/Library/TeX/texbin:$HOME/.cargo/bin:$HOME/.local/bin:$HOME/Library/Python/3.8/bin"
|
||||||
|
|
||||||
# kitty terminal emulator auto completion
|
|
||||||
# kitty + complete setup fish | source
|
|
||||||
|
|
||||||
# fancier ls
|
# fancier ls
|
||||||
alias ls="lsd"
|
alias ls="lsd"
|
||||||
|
@ -53,11 +52,3 @@ end
|
||||||
# set up GPG pinentry
|
# set up GPG pinentry
|
||||||
set -gx GPG_TTY (tty)
|
set -gx GPG_TTY (tty)
|
||||||
|
|
||||||
###### Nix Setup ######
|
|
||||||
# include this plugin so nix will work
|
|
||||||
# https://github.com/NixOS/nix/issues/1512
|
|
||||||
# https://github.com/oh-my-fish/plugin-foreign-env
|
|
||||||
set fish_function_path $fish_function_path $HOME/.config/fish/plugin-foreign-env/functions
|
|
||||||
|
|
||||||
# initialize nix
|
|
||||||
fenv source '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh'
|
|
||||||
|
|
Loading…
Reference in a new issue