-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.myconfigs
executable file
·98 lines (74 loc) · 2.95 KB
/
.myconfigs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
#!/bin/sh
export EDITOR=`which vim`
export FCEDITOR=`which vim`
export GIT_EDITOR=`which vim`
echo "running .myconfigs"
## Path
export PATH=""
export PATH=$PATH:/usr/local/buildtools/java/jdk/bin
export PATH=$PATH:/usr/local/sbin
export PATH=$PATH:/usr/local/bin
export PATH=$PATH:/usr/sbin
export PATH=$PATH:/usr/bin
export PATH=$PATH:/sbin
export PATH=$PATH:/bin
export PATH=$PATH:/usr/local/google/home/almasrymina/bin
export PATH=$PATH:/usr/local/google/home/almasrymina/.local/bin
export PATH=$PATH:/google/src/cloud/almasrymina/qemu-dev-tools/google3/experimental/users/almasrymina/qemu-dev-tools
export PATH=$PATH:/google/src/cloud/almasrymina/cos-dev-tools/google3/experimental/users/almasrymina/cos-dev
# export PATH=$PATH:/google/src/head/depot/google3/experimental/users/almasrymina/qemu-dev-tools
export PATH=$PATH:$HOME/bin
## End path
## Aliases:
alias ..="cd .."
alias ...="cd ../.."
alias ....="cd ../../.."
alias .....="cd ../../../.."
alias ......="cd ../../../../.."
alias .......="cd ../../../../../../.."
# 7 directories should be enough for anyone - bill g
# # thanks sean.
# ls with some arguments
alias l="ls --color"
alias ls="ls --color"
alias ll="ls -lh --color" # list long
alias la="ls -a --color" # list all
alias lla="la -alh --color" # list all long
alias lz="ls -tr --color" # list by date
alias lsa="ls -ld .* --color" # list only dotfiles
alias lsd="ls -d -- *(/) --color" # list only dirs
alias lsdirs="ls -d -- *(-/DN) --color" # list only dirs and links
alias lsx="ls -- *(*) --color" # list only executables
alias lsnew="ls -rtl --color" # list by new
alias lsold="ls -tl --color" # list by old
alias lssmall="ls -Sl --color" # list by small
alias lsbig="ls -Slr --color" # list by big
alias be="bundle exec"
alias tm="tmux -2"
# Quick edit zshrc
alias ez='vim ~/.zshrc'
alias sz='source ~/.zshrc'
#interactive rm
alias rm="rm -i"
#human readable disk space
alias df="df -h"
alias h="history | tail"
alias rps='cd `echo $REPOS`'
alias dotf='cd `echo $REPOS/dotfiles`'
PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
alias konjurer='/google/data/ro/projects/platforms/prodkernel/konjurer/konjurer'
alias corevirt-reservation=/google/data/ro/teams/vanadium/corevirt_reservation/corevirt-reservation
alias kolada=/google/bin/releases/kernel-tools/kolada/kolada
alias kt='kokonut test'
alias ice=/google/bin/releases/kernel-tools/icebreaker-release/ice
## end aliases
export GOROOT=/usr/lib/google-golang/
export GOPATH=~/go
export PROMPT_COMMAND="history -a; history -n"
MY_CONFIGS="loaded"
export TERM=screen-256color
alias kperf=/google/bin/releases/kernel-racktest/tests/kperf/kperf
# gcloud
alias staging_gcloud='CLOUDSDK_API_CLIENT_OVERRIDES_COMPUTE=staging_v1 /google/data/ro/teams/cloud-sdk/gcloud'
source /etc/bash_completion.d/g4d
source /etc/bash_completion.d/hgd