Update dotfiles
This commit is contained in:
parent
905bbdde4b
commit
77c9f41b4b
5 changed files with 17 additions and 2 deletions
|
|
@ -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"
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
2
.bashrc
2
.bashrc
|
|
@ -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
|
||||||
|
|
@ -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:
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue