ebouchut + shell   85

petervanderdoes/git-flow-completion: Bash, Zsh and fish completion support for git-flow.
Bash, Zsh and fish completion support for git-flow. - petervanderdoes/git-flow-completion
git  flox  gitflow  competion  shell  bash  zsh  complete  command  line  CLI  option  argument  branch 
november 2018 by ebouchut
koalaman/shellcheck: ShellCheck, a static analysis tool for shell scripts
ShellCheck, a static analysis tool for shell scripts - koalaman/shellcheck
shell  syntax  analysis  tool  static  check  validate  bug  error  find  locate  search  bash  lint  cli  tools  script 
october 2018 by ebouchut
dahlbyk/posh-git: A PowerShell environment for Git
posh-git is a PowerShell module that integrates Git and PowerShell by providing Git status summary information that can be displayed in the PowerShell prompt.
It also provides tab completion support for common git commands, branch names, paths and more. For example, with posh-git, PowerShell can tab complete git commands like checkout by typing git ch and pressing the tab key. That will tab complete to git checkout and if you keep pressing tab, it will cycle through other command ...
git  plugin  windows  powershell  shell  extension  add-on  cli  completion  tab  branch  name  prompt 
september 2018 by ebouchut
Bash-it/bash-it: A community Bash framework.
Bash-it is a collection of community Bash commands and scripts for Bash 3.2+. (And a shameless ripoff of oh-my-zsh 😃)

Includes autocompletion, themes, aliases, custom functions, a few stolen pieces from Steve Losh, and more.

Bash-it provides a solid framework for using, developing and maintaining shell scripts and custom commands for your daily work. If you're using the Bourne Again Shell (Bash) on a regular basis and have been looking for an easy way on how to keep all of these nice little s...
bash  shell  cli  framework  customize  theme  alias  autocomplete 
september 2018 by ebouchut
thoughtbot/terrapin: Run shell commands safely, even with user-supplied values
GitHub is where people build software. More than 28 million people use GitHub to discover, fork, and contribute to over 85 million projects.
geem  library  rails  rubyonrails  ruby  run  shell  command  launch 
june 2018 by ebouchut
A comparison of using `git flow` commands versus raw `git` commands.
GitHub is where people build software. More than 28 million people use GitHub to discover, fork, and contribute to over 80 million projects.
git  flow  command  shell  list  equivalence  gitflow  starred  comparison  compare 
february 2018 by ebouchut
Data Science at the Command Line
This is the website for Data Science at the Command Line, published by O’Reilly October 2014 First Edition. This hands-on guide demonstrates how the flexibility of the command line can help you become a more efficient and productive data scientist. You’ll learn how to combine small, yet powerful, command-line tools to quickly obtain, scrub, explore, and model your data.
book  data  datascience  command  CLI  linux  shell  machine  learning  science  extract  parse  massage  tools 
january 2018 by ebouchut
Extending git | Atlassian Git Tutorial
git's extension model follows the Unix philosophy of composing small, simple programs to extend the functionnality of git.
git  add  create  script  command  extension  add-on  extend  CLI  shell  plugin  alias 
december 2017 by ebouchut
rupa/z: z: Tracks your most used directories, based on frequency and recency
"Tracks your most used directories, based on 'frecency'.

After a short learning phase, z will take you to the most 'frecent'
directory that matches ALL of the regexes given on the command line, in
order.

For example, z foo bar would match /foo/bar but not /bar/foo."
zsh  script  change  directory  stack  list  search  history  frequent  recent  use  linux  memorize  shell 
december 2016 by ebouchut
dotphiles/dotzsh: A community driven framework for zsh
an Apple-introduced problem in Mac OS X 10.5 Leopard by executing the following command, or BASH and Zsh will have the wrong PATH when executed non-interactively."
non  macos  workaround  zsh  ruby  interactive  path  apple  rvm  vim  incorrect  invalid  macosx  version  Bug  path_helper  wrong  fix  issue  mac  shell  problem  rbenv  bash 
april 2016 by ebouchut
powerline/powerline: Powerline is a statusline plugin for vim, and provides statuslines and prompts for several other applications, including zsh, bash, tmux, IPython, Awesome and Qtile.
"Powerline is a statusline plugin for vim, and provides statuslines and prompts for several other applications, including zsh, bash, tmux, IPython, Awesome and Qtile."
vim  tmux  plugin  color  status  line  prompt  zsh  bash  shell 
march 2016 by ebouchut
cron - Execute a command over ssh with an ssh agent via crontab
# In the shell config file
if [ -x /usr/bin/keychain ]; then
/usr/bin/keychain --quiet --clear $HOME/.ssh/id_rsa
source $HOME/.keychain/$HOST-sh
fi

# In the command launched by crontab
source $HOME/.keychain/`/bin/hostname`-sh
ssh  agent  ssh-agent  keychain  crontab  password  command  shell  run  launch  execute  ask  authentication 
august 2015 by ebouchut
Zsh Batch File Renaming
zmv cc '(*).markdown' '$1.md'
zmv -Q '(**/)(*).markdown' '$1$2.md'
zsh  shell  file  rename  change  name  extension  mv  batch 
august 2015 by ebouchut
Sort Files Like A Master With The Linux Sort Command (Bash)
-k field_start,field_end # First field is number 1
-u # Remove duplicate => same as
-n # numeric
-t$'\t' # Use tab as field separator
sort  file  linux  unix  command  shell 
june 2015 by ebouchut
string - Extract filename and extension in bash - Stack Overflow
${variable%pattern}
Trim the shortest match from the end

${variable%%pattern}
Trim the longest match from the end

${variable##pattern}
Trim the longest match from the beginning

${variable#pattern}
Trim the shortest match from the beginning


Source:
* http://www.gnu.org/software/bash/manual/html_node/Shell-Parameter-Expansion.html#Shell-Parameter-Expansion
linux  shell  unix  bash  filename  extension  suffix  script 
april 2015 by ebouchut
What is the OSX version number
sw_vers
ProductName: Mac OS X
ProductVersion: 10.10.3
BuildVersion: 14D131
apple  macos  mac  version  number  command  line  CLI  build  shell 
april 2015 by ebouchut
Explain shell - A site to explain shell commands
"This site contains 29761 parsed manpages from sections 1 and 8 found in Ubuntu's manpage repository. A lot of heuristics were used to extract the arguments of each program, and there are errors here and there, especially in manpages that have a non-standard layout."
shell  command  syntax  explain  bash  unix  linux  ubuntu  line  learn 
february 2015 by ebouchut
record the terminal session and replay later » Linux by Examples
# Record
script -t 2> record.timing -a record.session

# Replay
scriptreplay record.timing record.session
shell  bash  zsh  record  session  screen  keyboard  save  input  output  terminal  replay 
november 2014 by ebouchut
Add Color to the Terminal in Mac OS X
export CLICOLOR=1

# Dark background
export CLICOLOR=1
export LSCOLORS=GxFxCxDxBxegedabagaced

# Light background
export CLICOLOR=1
export LSCOLORS=ExFxBxDxCxegedabagacad
color  mac  macos  terminal  term  customize  configure  CLICOLOR  LSCOLORS  shell  file  directory  listing  ls 
march 2014 by ebouchut
ls, colors, and Terminal.app
# TL;DR

alias ls="ls -G"
export LSCOLORS="ExGxBxDxCxEgEdxbxgxcxd"

Here is a list of color values:

a = black
b = red
c = green
d = brown
e = blue
f = magenta
g = cyan
h = grey
A = dark grey
B = bold red
C = bold green
D = yellow
E = bold blue
F = magenta
G = cyan
H = white
x = default

And here is a list of the positions in LSCOLORS:

directory
symbolic link
socket
pipe
executable
block device
character device
executable with setuid set
executable with setguid set
directory writable by others, with sticky bit
directory writable by others, without sticky bit

The default is “exfxcxdxbxegedabagacad”, which indicates blue foreground with default background for directories, magenta foreground with default background for symbolic links, etc.
LSCOLORS  linux  mac  macos  configure  customize  color  shell  listing  file  directory  terminal  term 
march 2014 by ebouchut
Enabling color directory listings in Mac OS X Terminal | Nomad Journey
export CLICOLOR=1
export LSCOLORS=ExFxCxDxBxegedabagacad

he color designators are as follows:

a black
b red
c green
d brown
e blue
f magenta
g cyan
h light grey
A bold black, usually shows up as dark grey
B bold red
C bold green
D bold brown, usually shows up as yellow
E bold blue
F bold magenta
G bold cyan
H bold light grey; looks like bright white
x default foreground or background
macos  directory  color  listing  ls  file  terminal  console  shell 
january 2014 by ebouchut
RichiH/vcsh: config manager based on Git
"vcsh allows you to maintain several Git repositories in one single directory. They all maintain their working trees without clobbering each other or interfering otherwise. By default, all Git repositories maintained via vcsh store the actual files in $HOME but you can override this setting if you want to. All this means that you can have one repository per application or application family, i.e. zsh, vim, ssh, etc. This, in turn, allows you to clone custom sets of configurations onto different machines or even for different users; picking and mixing which configurations you want to use where. For example, you may not need to have your mplayer configuration on a server or available to root and you may want to maintain different configuration for ssh on your personal and your work machines."
git  dotfiles  configuration  file  shell  vim  emacs  manager  management  version  control  starred  todo  from pocket
august 2013 by ebouchut
TERM strings - Arabesque
"A certain piece of very misleading advice is often given online to users having problems with the way certain command-line applications are displaying in their terminals. This is to suggest that the user change the value of their TERM environment variable from within the shell"
term  terminal  unix  shell  linux  terminfo  xterm  variable  color 
february 2013 by ebouchut
Github's Styleguide - Ruby, Javascript, CSS, SASS, Shell
"Welcome to the GitHub styleguide. This is where you should look if you're interested in how to write code. We have a living CSS styleguide, JavaScript styleguide and some recommendations on how to write Ruby code."
language  javascript  scss  SASS  css  shell  convention  naming  formatting  code  guide  guildeline  style  ruby 
march 2012 by ebouchut
Bash process substitution
"For tools like diff that work with multiple files as parameters, it can be useful to work with not just files on the filesystem, but also potentially with the output of arbitrary commands. "
diff  grep  command  pipe  output  input  IO  redirection  shell  bash 
february 2012 by ebouchut
Pry - an IRB alternative and runtime developer console
"Pry is a powerful alternative to the standard IRB shell for Ruby. It features syntax highlighting, a flexible plugin architecture, runtime invocation and source and documentation browsing. "
gem  interpreter  shell  console  irb  ruby  tool 
january 2012 by ebouchut
Gem - boom - The "delicious" for text snippets
"boom lets you access text snippets from the command line.

You probably hate typing the same shit over and over again. You probably sit in front of your command line prompt every day. Let's smash those two concepts together in the face.

Some people use boom for shit like:

Tracking URLs. It's sort of like your own personal del.icio.us. I upload animated GIFs mocking my coworkers, and boom lets me access those quickly.
Simple todos. Why use an ugly task manager app when it's all loaded into your shell?
Common responses and snippets. Stock email replies, private code copy and paste, things like that."
gem  boom  shell  clipboard  stash  copy  paste  text  delicious 
september 2011 by ebouchut
« earlier      
per page:    204080120160

related tags

%  ack  add  add-on  administration  advantage  ag  agent  alias  analysis  and  API  apple  argument  arithmetic  ask  authentication  autocomplete  automate  auto_cd  available  bar  based  bash  batch  binary  binstub  book  boom  bourne  branch  BSD  bug  build  but  cache  calculator  call  cd  cdpath  certificate  change  check  choice  choose  clear  cli  CLICOLOR  clipboard  cmd  code  color  command  compare  comparison  competion  complete  completion  compute  config  configuration  configure  console  control  convention  copy  cp  CPU  create  crontab  csh  css  customize  dash  data  database  datascience  date  debug  default  delicious  demo  diff  difference  directory  display  DNS  documentation  dotfiles  dripl  druid  eblog  EDA  element  emacs  empty  emulator  end  endpoint  environment  equivalence  error  ETA  example  exclude  execute  expand  expansion  expiration  explain  exploratory  extend  extension  extract  FAQ  feature  file  filename  find  first  fish  fix  flow  flox  folder  formatting  framework  free  frequent  geem  gem  generator  get  getopt  git  gitflow  gitlab  glob  gnu  grep  guide  guildeline  height  hexa  hexadecimal  history  hook  hub  if  image  incorrect  init  input  integration  interactive  interface  interpreter  introduction  invalid  IO  irb  issue  item  iterate  javascript  jump  keep  keyboard  keychain  ksh  language  last  launch  learn  learning  library  line  lint  linux  list  listing  load  locate  location  log  logging  ls  LSCOLORS  mac  machine  macos  macosx  management  manager  massage  match  memorize  memory  menu  message  mongo  mongodb  moreutils  move  multiple  multiplexer  mv  name  naming  negation  nested  nix  non  nosql  not  number  online  openbsd  opensource  option  or  order  output  package  parallel  parse  parser  parsing  password  paste  path  path_helper  pattern  percent  pick  pipe  plugin  plus  powershell  precedence  presentation  preserve  print  problem  processing  profile  program  programming  progress  prompt  ps  PS1  rails  RAM  rbenv  rc  recent  record  recursive  redirection  reference  rename  replace  replay  request  reset  resolution  REST  reverse  rm  ru  ruby  rubyonrails  run  rvm  SASS  save  science  screen  script  scripting  scss  search  select  selection  selector  send  session  settings  setup  several  shell  show  size  software  some  sort  source  sponge  ssh  ssh-agent  SSL  stack  standard  star  starred  startup  stash  static  status  stderr  style  substitute  substitution  suffix  swap  syntax  tab  tabulation  tcsh  term  terminal  terminfo  test  text  theme  thoughtbot  time  tips  tmux  todo  tool  toolbag  tools  trace  tree  tutorial  ubuntu  unix  URL  use  utility  valid  validate  variable  version  vim  visual  web  width  wiki  wildcard  window  windows  workaround  wrapper  write  wrong  xargs  xor  xterm  YAML  zsh 

Copy this bookmark:



description:


tags: