]> src.twobees.de Git - dotfiles.git/blob - stow/profile/.profile
follow upstream changes for indent-blankline
[dotfiles.git] / stow / profile / .profile
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 # if running bash
12 if [ -n "$BASH_VERSION" ]; then
13     # include .bashrc if it exists
14     if [ -f "$HOME/.bashrc" ]; then
15         . "$HOME/.bashrc"
16     fi
17 fi
18
19 # set PATH so it includes user's private bin if it exists
20 if [ -d "$HOME/bin" ] ; then
21     PATH="$HOME/bin:$PATH"
22 fi
23
24
25 #mister house!
26 export mh_parms=~/mh-private/mh.private.ini
27
28 export PATH=$PATH:~/bin
29 export PATH=$PATH:~/.bin
30 export PATH=$PATH:~/AppImages/
31 export PATH=$PATH:/snap/bin
32
33 #Editor
34 if [[ -e /snap/bin/nvim ]]; then
35     export EDITOR='/snap/bin/nvim'
36 elif [ `which nvim` != "" ]; then
37     export EDITOR=`which nvim`
38 else 
39     echo "nvim not installed?"
40     export EDITOR=vim
41 fi
42
43 #aliases
44 alias nvim=$EDITOR
45 alias vi=$EDITOR
46 alias vim=$EDITOR
47 alias ll='ls -lah'
48 alias t='tail -F -n 40'
49
50 # #esp32:
51 # exp="/home/ts/esp/esp-idf/export.sh" 
52 # if [ -f $exp ]; then
53 #     echo esp32
54 #     . $exp
55 # fi