custom
This commit is contained in:
parent
ca25d437a9
commit
77c00937ef
32
config.fish
Normal file
32
config.fish
Normal file
@ -0,0 +1,32 @@
|
||||
# exporting makeflags to compile packages with maximum cores
|
||||
export MAKEFLAGS="-j"(nproc)
|
||||
|
||||
export ANDROID_HOME="/opt/adnroid-sdk/tools/bin/"
|
||||
|
||||
function fish_user_key_bindings
|
||||
bind ! bind_bang
|
||||
bind '$' bind_dollar
|
||||
end
|
||||
|
||||
#GO
|
||||
export GOPATH=~/go
|
||||
fish_add_path ~/go/bin /usr/local/go/bin
|
||||
|
||||
#adnroid
|
||||
export ANDROID_HOME="~/Tools/android-sdk"
|
||||
|
||||
#Rust
|
||||
fish_add_path ~/.cargo/bin
|
||||
|
||||
#Own binarys
|
||||
fish_add_path ~/bin_nb ~/bin
|
||||
|
||||
thefuck --alias | source
|
||||
|
||||
alias pip='pip3'
|
||||
alias LS=/bin/ls
|
||||
alias ls=exa
|
||||
alias ll='exa -alF'
|
||||
alias la=ll
|
||||
alias plz=sudo
|
||||
alias please=sudo
|
@ -1,4 +1,4 @@
|
||||
function a
|
||||
mkdir -p /tmp/a
|
||||
cd /tmp/a
|
||||
mkdir -p /tmp/a
|
||||
cd /tmp/a
|
||||
end
|
||||
|
8
functions/bind_bang.fish
Normal file
8
functions/bind_bang.fish
Normal file
@ -0,0 +1,8 @@
|
||||
function bind_bang
|
||||
switch (commandline -t)[-1]
|
||||
case "!"
|
||||
commandline -t $history[1]; commandline -f repaint
|
||||
case "*"
|
||||
commandline -i !
|
||||
end
|
||||
end
|
9
functions/bind_dollar.fish
Normal file
9
functions/bind_dollar.fish
Normal file
@ -0,0 +1,9 @@
|
||||
function bind_dollar
|
||||
switch (commandline -t)[-1]
|
||||
case "!"
|
||||
commandline -t ""
|
||||
commandline -f history-token-search-backward
|
||||
case "*"
|
||||
commandline -i '$'
|
||||
end
|
||||
end
|
Loading…
Reference in New Issue
Block a user