summaryrefslogtreecommitdiff
path: root/.profile
diff options
context:
space:
mode:
Diffstat (limited to '.profile')
-rw-r--r--.profile54
1 files changed, 54 insertions, 0 deletions
diff --git a/.profile b/.profile
new file mode 100644
index 0000000..03b1379
--- /dev/null
+++ b/.profile
@@ -0,0 +1,54 @@
1set -o vi
2
3PATH="$HOME/scripts:$PATH"
4PS1="[\h \W] \$ "
5export LC_COLLATE="C"
6
7export HISTCONTROL=ignoredups
8export HISTFILE=$HOME/.sh_history
9export HISTSIZE=10000
10
11# Standard stuff and variables for my scripts
12export EDITOR=vi
13export VISUAL=vi
14export XEDIT=xedit
15export NOTIFY=notify
16export OPENER=open-file
17export BROWSER=firefox
18export XDG_CONFIG_HOME="$HOME/.config"
19export XDG_DATA_HOME="$HOME/.local/share"
20export XDG_CACHE_HOME="$HOME/.cache"
21
22# Program-specific stuff
23export FZF_DEFAULT_OPTS="-e -i -m --no-bold --no-color --layout=reverse-list"
24export LYNX_CFG="$XDG_CONFIG_HOME/lynx/lynx.cfg"
25export LYNX_LSS="$XDG_CONFIG_HOME/lynx/lynx.lss"
26export PYTHON_COLORS=0
27
28### Aliases and functions
29alias bc='bc -q /home/sebastiano/box/bc.library'
30alias o='open-file'
31alias rm='trash rm'
32alias ls='ls --color=auto'
33alias clip='clip -m fzf'
34alias bm='dmenu-bookmarks -m fzf'
35alias f='feed get && feed -m fzf menu'
36alias svi='vi "+so $HOME/.virc-spaces"'
37
38# Email management (mblaze)
39MAIL=$HOME/mail
40msync() { mbsync -a; }
41msc() { d=${1:-$MAIL/INBOX}; minc -q $d; mlist -t $d | mthread | mseq -S; mscan; }
42mget() { mbsync -a; msc; }
43mtt() { echo $MAIL/Trash | xargs mrefile $@; }
44mta() { echo $MAIL/Archive | xargs mrefile $@; }
45mpk() { f=$1; shift; mpick -t "$f =~~ \"$@\""; }
46s() { mshow $@ | templess; }
47sht() { mshow -A text/html $@; }
48n() { mshow .+1 | templess; }
49
50# nissy build options
51#export NISSY_BUILD_SANITIZE="address,undefined"
52
53# Session cookies are kept in .ssh
54[ -f $HOME/.ssh/sessions ] && . $HOME/.ssh/sessions

Generated with cgit - Back to sebastiano.tronto.net