Update dotfiles

This commit is contained in:
Joey Yakimowich-Payne 2022-11-19 18:52:39 -07:00
commit 77c9f41b4b
5 changed files with 17 additions and 2 deletions

View file

@ -1,6 +1,11 @@
# User specific aliases and functions: # User specific aliases and functions:
# alias vim="/usr/bin/vim.gtk" # alias vim="/usr/bin/vim.gtk"
alias ls="ls -h --color=auto" if [[ "$OSTYPE" == "darwin"* ]]; then
export LSCOLORS=ExGxBxDxCxEgEdxbxgxcxd
alias ls="ls -G"
else
alias ls="ls -h --color=auto"
fi
export CC=gcc export CC=gcc
export CXX=g++ export CXX=g++
alias nv="nvim" alias nv="nvim"

View file

@ -1,3 +1,10 @@
source ~/.bashrc source ~/.bashrc
source ~/.bash_aliases source ~/.bash_aliases
. "$HOME/.cargo/env" . "$HOME/.cargo/env"
# Setting PATH for Python 3.10
# The original version is saved in .bash_profile.pysave
PATH="/Library/Frameworks/Python.framework/Versions/3.10/bin:${PATH}"
export PATH
[[ -f ~/.bashrc ]] && source ~/.bashrc # ghcup-env

View file

@ -177,3 +177,5 @@ export CMAKE_PREFIX_PATH=/opt/homebrew/Cellar/qt\@5/5.15.2
alias sshkvm4g="ssh root@172.111.1.101" alias sshkvm4g="ssh root@172.111.1.101"
alias sshkvm2g="ssh root@172.111.1.102" alias sshkvm2g="ssh root@172.111.1.102"
. "$HOME/.cargo/env" . "$HOME/.cargo/env"
[ -f "/Users/joey/.ghcup/env" ] && source "/Users/joey/.ghcup/env" # ghcup-env

View file

@ -901,7 +901,7 @@ dap.configurations.nim = {
}, },
} }
require('dap-python').setup('python3') require('dap-python').setup('/opt/homebrew/bin/python3')
-- If you want to use this for rust and c, add something like this: -- If you want to use this for rust and c, add something like this:

View file

@ -5,6 +5,7 @@
email = jyapayne@gmail.com email = jyapayne@gmail.com
[core] [core]
editor = nvim editor = nvim
autocrlf = input
[pull] [pull]
rebase = false rebase = false
[color] [color]