Browse Source

Added .profile.

red-hat-laptop
Kevin Mok 7 years ago
parent
commit
f270a998d2
  1. 1
      .gitignore
  2. 3
      dotfiles/.bash_aliases
  3. 2
      dotfiles/.bashrc
  4. 2
      dotfiles/.gvimrc
  5. 22
      dotfiles/.profile
  6. 1
      dotfiles/.vimrc
  7. 2
      set-from-git.sh

1
.gitignore

@ -1 +1,2 @@
*.swp *.swp
temp.sh

3
dotfiles/.bash_aliases

@ -1,5 +1,4 @@
# system # system
xmodmap -e "clear Lock"
alias c="clear" alias c="clear"
shopt -s dotglob shopt -s dotglob
alias reb="sudo shutdown -r 0" alias reb="sudo shutdown -r 0"
@ -12,7 +11,7 @@ alias cdd="cd ~/Downloads"
alias 221="cd ~/Documents/School/221" alias 221="cd ~/Documents/School/221"
alias mt="okular ~/Documents/School/221/Textbook.pdf" alias mt="okular ~/Documents/School/221/Textbook.pdf"
alias mlt="okular ~/Downloads/Textbook.pdf" alias mlt="okular ~/Downloads/Textbook.pdf"
# 258 (lab)
alias p2="cd ~/258/258-labs-self/l5/p2" alias p2="cd ~/258/258-labs-self/l5/p2"
alias l5="cd ~/258/258-labs-self/l5" alias l5="cd ~/258/258-labs-self/l5"
alias lab="cd ~/258/258-labs-self" alias lab="cd ~/258/258-labs-self"

2
dotfiles/.bashrc

@ -130,7 +130,7 @@ bind "set menu-complete-display-prefix on"
DIR_LAB="/h/u3/c7/05/mokkar/.bash_it" DIR_LAB="/h/u3/c7/05/mokkar/.bash_it"
DIR_HOME="/home/kevin/.bash_it" DIR_HOME="/home/kevin/.bash_it"
# Path to the bash it configuration # Path to the bash it configuration
export BASH_IT="$DIR_LAB"
export BASH_IT="$DIR_HOME"
# Lock and Load a custom theme file # Lock and Load a custom theme file
# location /.bash_it/themes/ # location /.bash_it/themes/

2
dotfiles/.gvimrc

@ -1 +1 @@
set guifont=Monospace\ 14
set guifont=Monospace\ 13

22
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"

1
dotfiles/.vimrc

@ -13,6 +13,7 @@ call plug#begin('~/.vim/plugged')
Plug 'vim-scripts/L9' Plug 'vim-scripts/L9'
Plug 'vim-scripts/FuzzyFinder' Plug 'vim-scripts/FuzzyFinder'
Plug 'whatyouhide/vim-gotham' Plug 'whatyouhide/vim-gotham'
Plug 'felixhummel/setcolors.vim'
call plug#end() call plug#end()

2
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 dir=~/linux-config/dotfiles
for file in $files; do for file in $files; do

Loading…
Cancel
Save