Created
          October 20, 2016 15:04 
        
      - 
      
- 
        Save saantiaguilera/5e763eb5e318d13fe60488565ef50118 to your computer and use it in GitHub Desktop. 
    Easy adb aliases for an easier life
  
        
  
    
      This file contains hidden or 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
    
  
  
    
  | func_adbfilter() { | |
| adb logcat | ggrep `adb shell ps | ggrep $1 | cut -c10-15` | |
| } | |
| alias adbfilter=func_adbfilter | |
| func_adbphonedata() { | |
| adb shell cat /proc/cpuinfo | |
| } | |
| alias adbphonedata=func_adbphonedata | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
            
In your .bashrc add
in a zshrc add