From f270a998d271ffab088f836da084d42d409d9f4f Mon Sep 17 00:00:00 2001 From: Kevin Mok Date: Fri, 20 Oct 2017 11:17:44 -0400 Subject: [PATCH] Added .profile. --- .gitignore | 1 + dotfiles/.bash_aliases | 9 ++++----- dotfiles/.bashrc | 2 +- dotfiles/.gvimrc | 2 +- dotfiles/.profile | 22 ++++++++++++++++++++++ dotfiles/.vimrc | 1 + set-from-git.sh | 2 +- 7 files changed, 31 insertions(+), 8 deletions(-) create mode 100644 dotfiles/.profile diff --git a/.gitignore b/.gitignore index 1377554..7be4e0a 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ *.swp +temp.sh diff --git a/dotfiles/.bash_aliases b/dotfiles/.bash_aliases index b0febd0..f0725bb 100644 --- a/dotfiles/.bash_aliases +++ b/dotfiles/.bash_aliases @@ -1,5 +1,4 @@ # system -xmodmap -e "clear Lock" alias c="clear" shopt -s dotglob alias reb="sudo shutdown -r 0" @@ -12,10 +11,10 @@ alias cdd="cd ~/Downloads" alias 221="cd ~/Documents/School/221" alias mt="okular ~/Documents/School/221/Textbook.pdf" alias mlt="okular ~/Downloads/Textbook.pdf" - -alias p2="cd ~/258/258-labs-self/l5/p2" -alias l5="cd ~/258/258-labs-self/l5" -alias lab="cd ~/258/258-labs-self" + # 258 (lab) + alias p2="cd ~/258/258-labs-self/l5/p2" + alias l5="cd ~/258/258-labs-self/l5" + alias lab="cd ~/258/258-labs-self" # config alias vb="gvim ~/.bash_aliases" diff --git a/dotfiles/.bashrc b/dotfiles/.bashrc index 0b0bfb7..b384c21 100644 --- a/dotfiles/.bashrc +++ b/dotfiles/.bashrc @@ -130,7 +130,7 @@ bind "set menu-complete-display-prefix on" DIR_LAB="/h/u3/c7/05/mokkar/.bash_it" DIR_HOME="/home/kevin/.bash_it" # Path to the bash it configuration -export BASH_IT="$DIR_LAB" +export BASH_IT="$DIR_HOME" # Lock and Load a custom theme file # location /.bash_it/themes/ diff --git a/dotfiles/.gvimrc b/dotfiles/.gvimrc index 1059d3c..618e61b 100644 --- a/dotfiles/.gvimrc +++ b/dotfiles/.gvimrc @@ -1 +1 @@ -set guifont=Monospace\ 14 +set guifont=Monospace\ 13 diff --git a/dotfiles/.profile b/dotfiles/.profile new file mode 100644 index 0000000..02486f0 --- /dev/null +++ b/dotfiles/.profile @@ -0,0 +1,22 @@ +# ~/.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 directories +PATH="$HOME/bin:$HOME/.local/bin:$PATH" + +xmodmap -e "clear Lock" diff --git a/dotfiles/.vimrc b/dotfiles/.vimrc index 36df209..2d55a14 100644 --- a/dotfiles/.vimrc +++ b/dotfiles/.vimrc @@ -13,6 +13,7 @@ call plug#begin('~/.vim/plugged') Plug 'vim-scripts/L9' Plug 'vim-scripts/FuzzyFinder' Plug 'whatyouhide/vim-gotham' +Plug 'felixhummel/setcolors.vim' call plug#end() diff --git a/set-from-git.sh b/set-from-git.sh index 6c892cf..8486464 100644 --- a/set-from-git.sh +++ b/set-from-git.sh @@ -1,4 +1,4 @@ -files=".bash_aliases .bashrc .inputrc .vimrc .gvimrc" +files=".bash_aliases .bashrc .inputrc .vimrc .gvimrc .profile" dir=~/linux-config/dotfiles for file in $files; do