<commit_before>if status --is-interactive

umask 066

set -x -g LANG de_DE.UTF-8
set -x -g PATH_SEPARATOR :

set -x -g PATH /usr/bin /usr/local/bin /home/adrian/bin /usr/local/bin /usr/local/plan9/bin
set -x -g PLAN9 /usr/local/plan9

set -x -g BUG_PROJECT /home/adrian/proj/begun/mset/.bugdb
set -x -g EDITOR e
set -x -g VISUAL sam

function fortune
	command fortune /usr/local/plan9/lib/fortunes
end

function troll
	command fortune /usr/local/share/troll
end

function bullshit
	command bullshit /usr/local/share/bullshit
end

function pacman
	command pacman --color always $argv
end

function cl
	command ls --color=always --group-directories-first $argv
end

function ll
	command ls -ali --color=always --group-directories-first $argv
end

function l
	command ls --color=never $argv
end

function ls
	command ls -ali --color=never --group-directories-first $argv
end

function e
	command ed $argv
end

function nl
	command nl -ba $argv
end

function g
	grep -E $argv
end

function rr
	rm -r $argv
end

function cs
	clear
end

function lc
	wc -l $argv
end

function ee
	chmod 0700 * $argv
end

function en
	chmod 0600 * $argv
end

function fe
	chmod 0711 * $argv
end

function md
	mkdir $argv
end

function d
	pwd $argv
end

function rd
	rmdir $argv
end

function cd..
	cd ..
end

function tch
	touch $argv
end

function python
	python2.7 $argv
end

function potion
	pn $argv
end

function rm
	r $argv
end

function fuck -d 'Correct your previous console command'
    set -l exit_code $status
    set -l eval_script (mktemp 2>/dev/null ; or mktemp -t 'thefuck')
    set -l fucked_up_command $history[1]
    thefuck $fucked_up_command > $eval_script
    . $eval_script
    /bin/rm $eval_script
    if test $exit_code -ne 0
        history --delete $fucked_up_command
    end
end

#rlwrap is great

function mosml
	rlwrap -s 1000000 mosml $argv
end

function rc
	rlwrap -s 1000000 rc $argv
end

function ed
	rlwrap -s 1000000 ed $argv
end

function tl
	rlwrap -s 1000000 tl $argv
end

function pn
	rlwrap -s 1000000 pn $argv
end

function shirka
	rlwrap -s 1000000 shirka $argv
end

#Just to troll a little bit

function emacs
	ed -r -s
end

function vim
	info Ed
end

function vi
	man ed
end

function nano
	sam $argv
end

#prompts

function fish_greeting
	true
end

function fish_prompt
	set_color 444444

	echo -n (pwd)

	set_color normal
	
	echo -n ' » '
end

bu&

end
<commit_msg>Removed thefuck.<commit_after>if status --is-interactive

umask 066

set -x -g LANG de_DE.UTF-8
set -x -g PATH_SEPARATOR :

set -x -g PATH /usr/bin /usr/local/bin /home/adrian/bin /usr/local/bin /usr/local/plan9/bin
set -x -g PLAN9 /usr/local/plan9

set -x -g BUG_PROJECT /home/adrian/proj/begun/mset/.bugdb
set -x -g EDITOR e
set -x -g VISUAL sam

function fortune
	command fortune /usr/local/plan9/lib/fortunes
end

function troll
	command fortune /usr/local/share/troll
end

function bullshit
	command bullshit /usr/local/share/bullshit
end

function pacman
	command pacman --color always $argv
end

function cl
	command ls --color=always --group-directories-first $argv
end

function ll
	command ls -ali --color=always --group-directories-first $argv
end

function l
	command ls --color=never $argv
end

function ls
	command ls -ali --color=never --group-directories-first $argv
end

function e
	command ed $argv
end

function nl
	command nl -ba $argv
end

function g
	grep -E $argv
end

function rr
	rm -r $argv
end

function cs
	clear
end

function lc
	wc -l $argv
end

function ee
	chmod 0700 * $argv
end

function en
	chmod 0600 * $argv
end

function fe
	chmod 0711 * $argv
end

function md
	mkdir $argv
end

function d
	pwd $argv
end

function rd
	rmdir $argv
end

function cd..
	cd ..
end

function tch
	touch $argv
end

function python
	python2.7 $argv
end

function potion
	pn $argv
end

function rm
	r $argv
end

#rlwrap is great

function mosml
	rlwrap -s 1000000 mosml $argv
end

function rc
	rlwrap -s 1000000 rc $argv
end

function ed
	rlwrap -s 1000000 ed $argv
end

function tl
	rlwrap -s 1000000 tl $argv
end

function pn
	rlwrap -s 1000000 pn $argv
end

function shirka
	rlwrap -s 1000000 shirka $argv
end

#Just to troll a little bit

function emacs
	ed -r -s
end

function vim
	info Ed
end

function vi
	man ed
end

function nano
	sam $argv
end

#prompts

function fish_greeting
	true
end

function fish_prompt
	set_color 444444

	echo -n (pwd)

	set_color normal
	
	echo -n ' » '
end

bu&

end

{'fraction_non_alphanumeric': 0.07423382519863791, 'fraction_numerical': 0.03246311010215664, 'mean_word_length': 3.0834105653382764, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 1, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6152541', 'n_tokens_mistral': 1827, 'n_tokens_neox': 1673, 'n_words': 626}