christian at agile venture bolzano 2019 christian fei's blog

agile developer, clean code connoisseur && testing aficionado

read more about me

scroll through posts that i wrote

follow me on twitter and github

Fun with single letter commands

written on 2019-07-19 by Christian Fei

#post #tutorial 


here all single letter commands from my dotfiles

$ cd ~/dotfiles/dots/.config/fish/functions/

$ find . -name '?.fish'


start npm package

runs npm start

list all files

runs ls -lha

exits the current shell

runs exit

obviously runs the tests

runs npm test

less used now, runs npm run watch

build npm package

runs npm run build

open a visual studio code window for the current directory

runs code .

same as above, additionally exits terminal

runs code . && exit 0

is for deploying fast

runs npm run deploy

easy git clone

runs git clone $argv

usage c [email protected]:christian-fei/

installs npm deps

runs npm i $argv