feat: add more shell configs

This commit is contained in:
Mohammad Rafiq 2025-02-06 15:37:13 +08:00
parent 154869acc5
commit 04f2cc32af
2 changed files with 24 additions and 0 deletions

9
.gitconfig Normal file
View file

@ -0,0 +1,9 @@
[user]
name = Mohammad Rafiq
email = mohammadrafiq567@gmail.com
[init]
defaultBranch = main
[credential]
helper = store
[push]
autoSetupRemote = true

15
.profile Normal file
View file

@ -0,0 +1,15 @@
# ~/.profile: executed by Bourne-compatible login shells.
if [ "$BASH" ]; then
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
fi
# Rust/Cargo
mesg n 2> /dev/null || true
. "$HOME/.cargo/env"
# NVM
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"