diff --git a/.bash_aliases b/.bash_aliases index 2524055..e713f0c 100644 --- a/.bash_aliases +++ b/.bash_aliases @@ -12,4 +12,7 @@ alias tdall='todo --force-colour -A|less -r' alias go=gnome-open alias pp='python -mjson.tool' alias cd='cd -P' +alias tm=tmux +alias tma='tmux attach' +alias tmn='tmux new' # end .bash_aliases diff --git a/.bashrc b/.bashrc index 41b55c0..6527658 100755 --- a/.bashrc +++ b/.bashrc @@ -1,5 +1,5 @@ # .bashrc bash start script -# (c) Pcht 2007-2017 +# (c) Pcht 2007-2018 # If not running interactively, don't do anything [ -z "$PS1" ] && return @@ -11,7 +11,7 @@ export MAILCHECK=30 export EDITOR=vim -export PATH=".:$HOME/bin:$PATH:/usr/sbin:/sbin" +export PATH=".:$HOME/bin:$HOME/.local/bin:$PATH:/usr/sbin:/sbin" export LANG=fr_FR.UTF-8 @@ -74,12 +74,21 @@ alias ls='ls -F --color' alias l='ls -l' alias ll='ls -al' + test -f ~/dotfiles/.bash_aliases && source ~/dotfiles/.bash_aliases +### manpath +export MANPATH=$HOME/.local/share/man: + # nodejs test -d ~/.local_node/bin && export PATH="$PATH:$HOME/.local_node/bin" # RUST env https://www.rust-lang.org/fr-FR/ -test -f $HOME/.cargo/env && source $HOME/.cargo/env +# test -f $HOME/.cargo/env && source $HOME/.cargo/env + +# autolaunch tmux +# https://wiki.archlinux.org/index.php/Tmux#Bash +# [[ $- != *i* ]] && return +# [[ -z "$TMUX" ]] && exec tmux # end .bashrc