mirror of
https://github.com/VectorKappa/dotfiles.git
synced 2025-12-19 08:16:10 +01:00
1.5.0 A lot of fixes,,
migration to zsh, more to come!
This commit is contained in:
47
common/.Xresources
Normal file
47
common/.Xresources
Normal file
@@ -0,0 +1,47 @@
|
||||
! Copyright (c) 2016-present Arctic Ice Studio <development@arcticicestudio.com>
|
||||
! Copyright (c) 2016-present Sven Greb <code@svengreb.de>
|
||||
|
||||
! Project: Nord XResources
|
||||
! Version: 0.1.0
|
||||
! Repository: https://github.com/arcticicestudio/nord-xresources
|
||||
! License: MIT
|
||||
|
||||
#define nord0 #2E3440
|
||||
#define nord1 #3B4252
|
||||
#define nord2 #434C5E
|
||||
#define nord3 #4C566A
|
||||
#define nord4 #D8DEE9
|
||||
#define nord5 #E5E9F0
|
||||
#define nord6 #ECEFF4
|
||||
#define nord7 #8FBCBB
|
||||
#define nord8 #88C0D0
|
||||
#define nord9 #81A1C1
|
||||
#define nord10 #5E81AC
|
||||
#define nord11 #BF616A
|
||||
#define nord12 #D08770
|
||||
#define nord13 #EBCB8B
|
||||
#define nord14 #A3BE8C
|
||||
#define nord15 #B48EAD
|
||||
|
||||
*.foreground: nord4
|
||||
*.background: nord0
|
||||
*.cursorColor: nord4
|
||||
*fading: 35
|
||||
*fadeColor: nord3
|
||||
|
||||
*.color0: nord1
|
||||
*.color1: nord11
|
||||
*.color2: nord14
|
||||
*.color3: nord13
|
||||
*.color4: nord9
|
||||
*.color5: nord15
|
||||
*.color6: nord8
|
||||
*.color7: nord5
|
||||
*.color8: nord3
|
||||
*.color9: nord11
|
||||
*.color10: nord14
|
||||
*.color11: nord13
|
||||
*.color12: nord9
|
||||
*.color13: nord15
|
||||
*.color14: nord7
|
||||
*.color15: nord6
|
||||
@@ -1,84 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Easier navigation: .., ..., ...., ....., ~ and -
|
||||
alias ..="cd .."
|
||||
alias cd..="cd .."
|
||||
alias ...="cd ../.."
|
||||
alias ....="cd ../../.."
|
||||
alias .....="cd ../../../.."
|
||||
alias ......="cd ../../../../.."
|
||||
alias ~="cd ~" # `cd` is probably faster to type though
|
||||
alias -- -="cd -"
|
||||
|
||||
# TODO: Make this conditional if using termux
|
||||
#? maybe by using pwd (/data/data/com.termux/files)
|
||||
|
||||
# Shortcuts
|
||||
alias sd="cd /mnt/sdcard"
|
||||
alias dl="cd /mnt/sdcard/Download"
|
||||
alias g="git"
|
||||
alias h="history"
|
||||
alias j="jobs"
|
||||
|
||||
# alternative to tail -f
|
||||
alias lessf="less +F"
|
||||
|
||||
# List all files colorized in long format
|
||||
alias l="ls -l"
|
||||
alias ll="ls -lah"
|
||||
|
||||
# List all files colorized in long format, including dot files
|
||||
alias la="ls -la"
|
||||
|
||||
# List only directories
|
||||
alias lsd="ls -l | grep --color=never '^d'"
|
||||
|
||||
# Always use color output for `ls`
|
||||
#alias ls="command ls --color=auto"
|
||||
|
||||
# Always enable colored `grep` output
|
||||
# Note: `GREP_OPTIONS="--color=auto"` is deprecated, hence the alias usage.
|
||||
alias grep='grep --color=auto'
|
||||
alias fgrep='fgrep --color=auto'
|
||||
alias egrep='egrep --color=auto'
|
||||
|
||||
# Enable aliases to be sudo’ed
|
||||
alias sudo='sudo '
|
||||
|
||||
# Get week number
|
||||
alias week='date +%V'
|
||||
|
||||
# Stopwatch
|
||||
alias timer='echo "Timer started. Stop with Ctrl-D." && date && time cat && date'
|
||||
|
||||
# Dice for the undecided
|
||||
alias dice='echo $[ 1 + $RANDOM % 6 ]'
|
||||
alias yn='[ $[ $RANDOM % 2 ] == 0 ] && echo "Yes" || echo "No"'
|
||||
|
||||
# IP addresses
|
||||
alias myip="dig +short myip.opendns.com @resolver1.opendns.com"
|
||||
alias localip="ifconfig wlan0 | grep 'inet addr' | cut -d ':' -f 2 | cut -d ' ' -f 1"
|
||||
alias ips="ifconfig -a | grep -o 'inet6\? \(addr:\)\?\s\?\(\(\([0-9]\+\.\)\{3\}[0-9]\+\)\|[a-fA-F0-9:]\+\)' | awk '{ sub(/inet6? (addr:)? ?/, \"\"); print }'"
|
||||
|
||||
# Canonical hex dump; some systems have this symlinked
|
||||
command -v hd > /dev/null || alias hd="hexdump -C"
|
||||
|
||||
# URL-encode strings
|
||||
alias urlencode='python -c "import sys, urllib as ul; print ul.quote_plus(sys.argv[1]);"'
|
||||
|
||||
# Ring the terminal bell
|
||||
alias badge="tput bel"
|
||||
|
||||
# Intuitive map function
|
||||
# For example, to list all directories that contain a certain file:
|
||||
# find . -name .gitattributes | map dirname
|
||||
alias map="xargs -n1"
|
||||
|
||||
# Reload the shell (i.e. invoke as a login shell)
|
||||
alias reload="exec $SHELL -l"
|
||||
|
||||
# See if connection works
|
||||
alias p="ping 1.1.1.1"
|
||||
|
||||
# Print each PATH entry on a separate line
|
||||
alias path='echo -e ${PATH//:/\\n}'
|
||||
@@ -26,15 +26,58 @@
|
||||
changed = green
|
||||
untracked = cyan
|
||||
|
||||
[core]
|
||||
pager = less -R
|
||||
[help]
|
||||
autocorrect = 1 #fucking magic!
|
||||
|
||||
#Kudos for (copied from):
|
||||
#http://git-scm.com/book/en/Customizing-Git-Git-Configuration
|
||||
#http://robots.thoughtbot.com/post/4747482956/streamline-your-git-workflow-with-aliases
|
||||
#http://oli.jp/2012/git-powerup/#conclusion
|
||||
#http://blog.blindgaenger.net/advanced_git_aliases.html
|
||||
#https://gist.github.com/robmiller/6018582 (branch-name, publish, unpublish)
|
||||
|
||||
[apply]
|
||||
whitespace = nowarn
|
||||
|
||||
|
||||
# URL shorthands
|
||||
|
||||
[url "git@github.com:"]
|
||||
insteadOf = "gh:"
|
||||
pushInsteadOf = "github:"
|
||||
pushInsteadOf = "git://github.com/"
|
||||
|
||||
[url "git://github.com/"]
|
||||
insteadOf = "github:"
|
||||
|
||||
[url "git@gist.github.com:"]
|
||||
insteadOf = "gst:"
|
||||
pushInsteadOf = "gist:"
|
||||
pushInsteadOf = "git://gist.github.com/"
|
||||
|
||||
[url "git://gist.github.com/"]
|
||||
insteadOf = "gist:"
|
||||
|
||||
[diff]
|
||||
# Detect copies as well as renames
|
||||
renames = copies
|
||||
|
||||
[diff "bin"]
|
||||
# Use `hexdump` to diff binary files
|
||||
textconv = hexdump -v -C
|
||||
|
||||
|
||||
[alias]
|
||||
#LAZY VERSIONS OF BASIC COMMANDS
|
||||
########LAZY VERSIONS OF BASIC COMMANDS########
|
||||
|
||||
co = checkout
|
||||
br = branch
|
||||
ci = commit
|
||||
st = status
|
||||
|
||||
#BETTER VERSIONS OF BASIC COMMANDS
|
||||
########BETTER VERSIONS OF BASIC COMMANDS########
|
||||
|
||||
purr = pull --rebase
|
||||
puff = pull --ff-only
|
||||
@@ -138,38 +181,8 @@
|
||||
#add all, commit with message and push to remote
|
||||
apm = "!f() { git add --all && git commit -m \"$@\" && git push; }; f"
|
||||
|
||||
[apply]
|
||||
whitespace = nowarn
|
||||
[core]
|
||||
pager = less -R
|
||||
[help]
|
||||
autocorrect = 1 #fucking magic!
|
||||
|
||||
#Kudos for (copied from):
|
||||
#http://git-scm.com/book/en/Customizing-Git-Git-Configuration
|
||||
#http://robots.thoughtbot.com/post/4747482956/streamline-your-git-workflow-with-aliases
|
||||
#http://oli.jp/2012/git-powerup/#conclusion
|
||||
#http://blog.blindgaenger.net/advanced_git_aliases.html
|
||||
#https://gist.github.com/robmiller/6018582 (branch-name, publish, unpublish)
|
||||
[color]
|
||||
ui = auto
|
||||
[color "branch"]
|
||||
current = yellow reverse
|
||||
local = yellow
|
||||
remote = green
|
||||
[color "decorate"]
|
||||
remoteBranch = blue bold
|
||||
[color "diff"]
|
||||
meta = yellow bold
|
||||
frag = magenta bold
|
||||
old = red bold
|
||||
new = green bold
|
||||
[color "status"]
|
||||
added = yellow
|
||||
changed = green
|
||||
untracked = cyan
|
||||
|
||||
[alias]
|
||||
###################! Git Kurwa!####################
|
||||
drzewokurwa = log --graph --date=relative \
|
||||
--format=format:'%C(auto)%h %C(bold blue)%an%C(auto)%d %C(green)%ad%C(reset)%n%w(80,8,8)%s'
|
||||
duzedrzewokurwa= log --graph --date=relative --name-status \
|
||||
@@ -223,41 +236,6 @@
|
||||
|
||||
palisiekurwa = !sh -c 'git add . && git commit -m \"palilo sie\" --no-gpg-sign --no-verify && git push --force && echo \"Ok, now RUN!\"'
|
||||
|
||||
[apply]
|
||||
whitespace = nowarn
|
||||
|
||||
[user]
|
||||
name = VectorKappa
|
||||
email = piotrpatalong@gmail.com
|
||||
|
||||
# URL shorthands
|
||||
|
||||
[url "git@github.com:"]
|
||||
|
||||
insteadOf = "gh:"
|
||||
pushInsteadOf = "github:"
|
||||
pushInsteadOf = "git://github.com/"
|
||||
|
||||
[url "git://github.com/"]
|
||||
|
||||
insteadOf = "github:"
|
||||
|
||||
[url "git@gist.github.com:"]
|
||||
|
||||
insteadOf = "gst:"
|
||||
pushInsteadOf = "gist:"
|
||||
pushInsteadOf = "git://gist.github.com/"
|
||||
|
||||
[url "git://gist.github.com/"]
|
||||
|
||||
insteadOf = "gist:"
|
||||
|
||||
[diff]
|
||||
|
||||
# Detect copies as well as renames
|
||||
renames = copies
|
||||
|
||||
[diff "bin"]
|
||||
|
||||
# Use `hexdump` to diff binary files
|
||||
textconv = hexdump -v -C
|
||||
email = piotrpatalong@gmail.com
|
||||
Reference in New Issue
Block a user