dotfiles

A steaming hot pile of sh...ell scripts and configuration files.
git clone https://kaka.farm/~git/dotfiles
Log | Files | Refs

.profile (1066B)


      1 # ~/.profile: executed by the command interpreter for login shells.
      2 # This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login
      3 # exists.
      4 # see /usr/share/doc/bash/examples/startup-files for examples.
      5 # the files are located in the bash-doc package.
      6 
      7 # the default umask is set in /etc/profile; for setting the umask
      8 # for ssh logins, install and configure the libpam-umask package.
      9 #umask 022
     10 
     11 export LC_ALL=C.UTF-8
     12 export LANG=C.UTF-8
     13 export LANGUAGE=C.UTF-8
     14 
     15 # if running bash
     16 if [ -n "$BASH_VERSION" ]; then
     17     # include .bashrc if it exists
     18     if [ -f "$HOME/.bashrc" ]; then
     19 	. "$HOME/.bashrc"
     20     fi
     21 fi
     22 
     23 # set PATH so it includes user's private bin directories
     24 PATH="$HOME/bin:$HOME/.local/bin:$PATH"
     25 
     26 if [ -d "$HOME/.cargo/bin:$PATH" ]; then
     27 	export PATH="$HOME/.cargo/bin:$PATH"
     28 fi
     29 
     30 # pip bash completion start
     31 _pip_completion()
     32 {
     33     COMPREPLY=( $( COMP_WORDS="${COMP_WORDS[*]}" \
     34                    COMP_CWORD=$COMP_CWORD \
     35                    PIP_AUTO_COMPLETE=1 $1 ) )
     36 }
     37 complete -o default -F _pip_completion pip
     38 # pip bash completion end