summaryrefslogtreecommitdiff
path: root/.zsh/functions
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2016-03-10 14:29:06 +0000
committerUrbain Vaes <urbain@vaes.uk>2016-03-10 14:29:06 +0000
commit3446f5387389b0e1671481c8a8fb9ea0eed519f6 (patch)
tree543bde435847c700507c3b229460b446f4a09028 /.zsh/functions
parentc9f80e43f431d89bbccd1ecc68c7b48fb8c01dd4 (diff)
Remove . from dotfiles for convenience
Diffstat (limited to '.zsh/functions')
-rw-r--r--.zsh/functions25
1 files changed, 0 insertions, 25 deletions
diff --git a/.zsh/functions b/.zsh/functions
deleted file mode 100644
index 2b43e1a..0000000
--- a/.zsh/functions
+++ /dev/null
@@ -1,25 +0,0 @@
-#!/bin/zsh
-
-function colo {
-
- # Change colors for current session
- $HOME/bin/recolor < ~/.Xresources/$1
-
- # Load Xresources file for future sessions
- xrdb ~/.Xresources/$1
-
- # Change environment variable
- export COLORSCHEME=$1
-
- # Change default environment variable for future sessions
- sed -i --follow-symlinks "s/^export COLORSCHEME=.*$/export COLORSCHEME=$1/g" ~/.zsh/tmp
-}
-
-fshow() {
- git log --graph --color=always \
- --format="%C(auto)%h%d %s %C(black)%C(bold)%cr" "$@" |
- fzf --ansi --no-sort --reverse --tiebreak=index --toggle-sort=\` \
- --bind 'ctrl-m:execute:
- echo {} | grep -o "[a-f0-9]\{7\}" |
- xargs -I % sh -c "git show --color=always % | less -R"'
-}