Files
dotfiles/common/.profile
Pratik Tripathy 76bd4806ed - .gitignore updated to add more JS specific things and log files
- Ideavim config: organized, added more VIM options, more keymaps
- .profile updated to map the caps-lock key to escape on system login
- .zshrc updated to enable VIM mode on zsh shell
- Removed LazyVim config - would reconfigure it from scratch
2023-11-17 16:01:23 +05:30

30 lines
865 B
Bash

# ~/.profile: executed by the command interpreter for login shells.
# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login
# exists.
# see /usr/share/doc/bash/examples/startup-files for examples.
# the files are located in the bash-doc package.
# the default umask is set in /etc/profile; for setting the umask
# for ssh logins, install and configure the libpam-umask package.
#umask 022
# if running bash
if [ -n "$BASH_VERSION" ]; then
# include .bashrc if it exists
if [ -f "$HOME/.bashrc" ]; then
. "$HOME/.bashrc"
fi
fi
# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/bin" ] ; then
PATH="$HOME/bin:$PATH"
fi
# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/.local/bin" ] ; then
PATH="$HOME/.local/bin:$PATH"
fi
# Remap caps lock to escape
setxkbmap -option caps:escape