forked from Bash-it/bash-it
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request Bash-it#1 from maxk-fortscale/fortscale_aliases
Fortscale aliases
- Loading branch information
Showing
3 changed files
with
91 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
cite 'about-alias' | ||
about-alias 'common hdfs dfs abbreviations' | ||
|
||
# Aliases | ||
alias hdls='hdfs dfs -ls' | ||
alias hdchmod='hdfs dfs -chmod' | ||
alias hdchown='hdfs dfs -chown' | ||
alias hdchgrp='hdfs dfs -chgrp' | ||
alias hdmkdir='hdfs dfs -mkdir -p' | ||
alias hdfsck='hdfs fsck' | ||
alias hdcat='hdfs dfs -cat' | ||
alias hdget='hdfs dfs -get' | ||
alias hdput='hdfs dfs -put' | ||
alias hddu='hdfs dfs -du' | ||
alias hddf='hdfs dfs -df' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
#!/usr/bin/env bash | ||
|
||
# Load RVM, if you are using it | ||
[[ -s $HOME/.rvm/scripts/rvm ]] && source $HOME/.rvm/scripts/rvm | ||
|
||
# Add rvm gems and nginx to the path | ||
export PATH=$PATH:~/.gem/ruby/1.8/bin:/opt/nginx/sbin | ||
|
||
# Path to the bash it configuration | ||
export BASH_IT=$HOME/.bash_it | ||
|
||
# Lock and Load a custom theme file | ||
# location /.bash_it/themes/ | ||
export BASH_IT_THEME='candy' | ||
|
||
# Your place for hosting Git repos. I use this for private repos. | ||
export GIT_HOSTING='[email protected]' | ||
|
||
# Set my editor and git editor | ||
export EDITOR='/usr/bin/vim' | ||
export GIT_EDITOR='/usr/bin/vim' | ||
|
||
# Set the path nginx | ||
export NGINX_PATH='/opt/nginx' | ||
|
||
# Don't check mail when opening terminal. | ||
unset MAILCHECK | ||
|
||
|
||
# Change this to your console based IRC client of choice. | ||
|
||
export IRC_CLIENT='irssi' | ||
|
||
# Set this to the command you use for todo.txt-cli | ||
|
||
export TODO="t" | ||
|
||
# Set vcprompt executable path for scm advance info in prompt (demula theme) | ||
# https://github.com/xvzf/vcprompt | ||
#export VCPROMPT_EXECUTABLE=~/.vcprompt/bin/vcprompt | ||
|
||
### Fortscale variables: | ||
export FORTSCALE_HOME=${HOME}/fortscale | ||
export FORTSCALE_COLLECTOR_ROOT=fortscale-core/fortscale/fortscale-collection/target | ||
export FORTSCALE_COLLECTOR_LOG_DIR=${FORTSCALE_HOME}/${FORTSCALE_COLLECTOR_ROOT} | ||
#export FORTSCALE_STREAMING_ROOT=streaming | ||
#export FORTSCALE_STREAMING_LOG_DIR=/var/log/fortscale/${FORTSCALE_STREAMING_ROOT} | ||
|
||
# Load Bash It | ||
source $BASH_IT/bash_it.sh |