Skip to content

ahmedash95/aliaser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

Aliaser

aliaser is a simple tool for easy set and get your common commands by alias .

Installation

cd ~ && wget https://raw.githubusercontent.com/ahmedash95/aliaser/master/aliaser.sh

then open your terminal bashrc file .. if you are an ubuntu user then nano ~/.bashrc .. if you are using mac with iterm and zsh then i guess the it will be nano ~/.zshrc and put this command at the end of the file

alias aliaser='bash $HOME/aliaser.sh'

then refresh your terminal config

source ~/.bashrc

now every thing should work perfect. lets try to write aliaser the output should be something like

please use set or get command
set example : aliaser set listHome 'ls ~'
get example : aliaser get listHome

How to use ?

oh , actually this is very easy

if you want to say my alias is [ mySSH ] and command is [ ssh root@ahmedash.me ] then you just need to exectue this command

aliaser set mySSH 'ssh root@ahmedash.me' 

and if you want to execute this command with your alias using Aliaser just execute

aliaser get mySSH

then the output will be something like

executing :  ssh root@ahmedash.me

followed by your command output

Contribution guidelines

Please report any issue you find in the issues page.

Pull requests are welcome.

About

Easy way to keep your commands in aliases

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages