Skip to content

Commit

Permalink
adjust shell profile
Browse files Browse the repository at this point in the history
  • Loading branch information
mslehto committed Sep 23, 2018
1 parent 8be7c03 commit a8b5c5c
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
2 changes: 1 addition & 1 deletion profile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
LC_CTYPE=fi_FI.UTF-8; export LC_CTYPE
LC_CTYPE=en_GB.UTF-8; export LC_CTYPE
EDITOR=vim; export EDITOR
PAGER=less; export PAGER

Expand Down
16 changes: 13 additions & 3 deletions shrc
Original file line number Diff line number Diff line change
@@ -1,12 +1,22 @@
set -o vi

alias h='fc -l'


EDITOR=vim; export EDITOR
PAGER=less; export PAGER

# be paranoid
alias cp='cp -ip'
alias mv='mv -i'
alias rm='rm -i'
alias vi='vim'

~/bin/ssh-agent.sh > /dev/null
. ~/.sshrc

if [ -x ~/bin/ssh-agent.sh ]
then
~/bin/ssh-agent.sh > /dev/null
fi
if [ -x ~/.sshrc ]
then
. ~/.sshrc
fi

0 comments on commit a8b5c5c

Please sign in to comment.