add tmux env and aliases

This commit is contained in:
masterzu 2018-03-14 10:10:45 +01:00
parent 6f91486e0b
commit aa562e2af8
2 changed files with 15 additions and 3 deletions

View File

@ -12,4 +12,7 @@ alias tdall='todo --force-colour -A|less -r'
alias go=gnome-open alias go=gnome-open
alias pp='python -mjson.tool' alias pp='python -mjson.tool'
alias cd='cd -P' alias cd='cd -P'
alias tm=tmux
alias tma='tmux attach'
alias tmn='tmux new'
# end .bash_aliases # end .bash_aliases

15
.bashrc
View File

@ -1,5 +1,5 @@
# .bashrc bash start script # .bashrc bash start script
# (c) Pcht 2007-2017 # (c) Pcht 2007-2018
# If not running interactively, don't do anything # If not running interactively, don't do anything
[ -z "$PS1" ] && return [ -z "$PS1" ] && return
@ -11,7 +11,7 @@ export MAILCHECK=30
export EDITOR=vim 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 export LANG=fr_FR.UTF-8
@ -74,12 +74,21 @@ alias ls='ls -F --color'
alias l='ls -l' alias l='ls -l'
alias ll='ls -al' alias ll='ls -al'
test -f ~/dotfiles/.bash_aliases && source ~/dotfiles/.bash_aliases test -f ~/dotfiles/.bash_aliases && source ~/dotfiles/.bash_aliases
### manpath
export MANPATH=$HOME/.local/share/man:
# nodejs # nodejs
test -d ~/.local_node/bin && export PATH="$PATH:$HOME/.local_node/bin" test -d ~/.local_node/bin && export PATH="$PATH:$HOME/.local_node/bin"
# RUST env https://www.rust-lang.org/fr-FR/ # 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 # end .bashrc